Skip to main content
Version: Next

ChildRunOptions

Hierarchy

Index

Properties

Properties

optionalabortWithParent

abortWithParent?: boolean = false

Gracefully abort the child run when this run is gracefully aborted, or when it exits through Actor.exit(), Actor.fail() or Actor.main(), whatever the exit code. A hard abort, timeout or crash of this run leaves the child run running, and so does ending this run without Actor.exit().

Once this run is being aborted or is exiting, a call with this option throws instead of starting a run. A finished child run that is resurrected, e.g. with resurrect() on its client from Actor.childRuns(), keeps its finished status in the record and is not aborted. It cannot be combined with token, since the token is not stored.

Page Options