Skip to main content
Version: 3.0

MainOptions

Hierarchy

  • ExitOptions
  • InitOptions
    • MainOptions

Index

Properties

optionalexit

exit?: boolean

Call process.exit()? Defaults to true

optionalexitCode

exitCode?: number

Exit code, defaults to 0

optionalstatusMessage

statusMessage?: string

Exit with given status message

optionalstorage

storage?: StorageClient

optionaltimeoutSecs

timeoutSecs?: number = 30

Amount of time, in seconds, to wait for all event handlers to finish before exiting the process.