Skip to main content
Version: Next

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.