Skip to main content
Version: 3.1

ExitOptions

Hierarchy

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

optionaltimeoutSecs

timeoutSecs?: number = 30

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