Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

WorkerShutdownNotice

import type { WorkerShutdownNotice } from "https://googleapis.deno.dev/v1/dataflow:v1b3.ts";

Shutdown notification from workers. This is to be sent by the shutdown script of the worker VM so that the backend knows that the VM is being shut down.

interface WorkerShutdownNotice {
reason?: string;
}

§Properties

§
reason?: string
[src]

The reason for the worker shutdown. Current possible values are: "UNKNOWN": shutdown reason is unknown. "PREEMPTION": shutdown reason is preemption. Other possible reasons may be added in the future.