InterfacesVersion: 3.0On this pageExitOptions HierarchyExitOptionsMainOptionsIndex PropertiesexitexitCodestatusMessagetimeoutSecsProperties optionalexitexit?: booleanCall process.exit()? Defaults to trueoptionalexitCodeexitCode?: numberExit code, defaults to 0optionalstatusMessagestatusMessage?: stringExit with given status messageoptionaltimeoutSecstimeoutSecs?: number = 30Amount of time, in seconds, to wait for all event handlers to finish before exiting the process.
Call
process.exit()
? Defaults to true