MCPcopy Create free account
hub / github.com/awslabs/llrt / exit

Method exit

types/process.d.ts:185–185  ·  view source on GitHub ↗

* The `process.exit()` method instructs llrt to terminate the process * synchronously with an exit status of `code`. If `code` is omitted, exit uses * either the 'success' code `0` or the value of `process.exitCode` if it has been * set. llrt will not terminate until all the `'exit'`

(code?: number | string | null | undefined)

Source from the content-addressed store, hash-verified

183 * import { exit } from 'process';
184 *
185 * exit(1);
186 * ```
187 */
188 exit(code?: number | string | null | undefined): never;

Callers 5

clearDynamoDBTableFunction · 0.65
handleErrorMethod · 0.65
shutdownMethod · 0.65
startMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected