Skip to main content
Module

x/netzo/deno.d.ts>Deno.exit

SDK for Netzo, the open Web platform to unify IoT devices, applications and services.
Go to Latest
function Deno.exit
import { Deno } from "https://deno.land/x/netzo@v0.1.10/deno.d.ts";
const { exit } = Deno;

Exit the Deno process with optional exit code. If no exit code is supplied then Deno will exit with return code of 0.

In worker contexts this is an alias to self.close();.

Deno.exit(5);

Parameters

optional
code: number

Returns

never