Skip to main content
Version: Next

InitOptions

Hierarchy

Index

Properties

optionalgracefulShutdown

gracefulShutdown?: boolean = true

Whether to automatically handle platform shutdown signals. When enabled, Actor.exit() is called on aborting events and Actor.reboot() on migrating events.

optionalgracefulShutdownDelayMillis

gracefulShutdownDelayMillis?: number = 0

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.

optionalstorage

storage?: StorageClient