The aworker.exit() method instructs Serverless Worker to terminate the process synchronously with an exit status of code. If code is omitted, exit uses the 'success' code 0.
aworker.exit()
code
Optional
The exit code.
Generated using TypeDoc
The
aworker.exit()
method instructs Serverless Worker to terminate the process synchronously with an exit status of code. Ifcode
is omitted, exit uses the 'success' code 0.