MainOptions
Hierarchy
- ExitOptions
- InitOptions
- MainOptions
Index
Properties
optionalinheritedexit
optionalinheritedexitCode
Exit code, defaults to 0
optionalinheritedgracefulShutdown
Whether to automatically handle platform shutdown signals.
When enabled, Actor.exit() is called on aborting events and Actor.reboot() on migrating events.
optionalinheritedgracefulShutdownDelayMillis
Delay in milliseconds before calling Actor.exit()/Actor.reboot() on aborting/migrating events.
Since both methods already wait for all event handlers to complete, this delay is usually unnecessary.
optionalinheritedstatusMessage
Exit with given status message
optionalinheritedstorage
optionalinheritedtimeoutSecs
Amount of time, in seconds, to wait for all event handlers to finish before exiting the process.
Call
process.exit()? Defaults to true