Function exit

  • 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.

    Parameters

    • Optional code: number

      The exit code.

    Returns never

Generated using TypeDoc