Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/deno/cli/dts/lib.deno.unstable.d.ts>Deno.UnsafeCallbackDefinition

A modern runtime for JavaScript and TypeScript.
Go to Latest
interface Deno.UnsafeCallbackDefinition
import { type Deno } from "https://deno.land/x/deno@v1.28.0/cli/dts/lib.deno.unstable.d.ts";
const { UnsafeCallbackDefinition } = Deno;

UNSTABLE: New API, yet to be vetted.

Definition of a unsafe callback function.

Type Parameters

optional
Parameters extends readonly NativeType[] = readonly NativeType[]
optional
Result extends NativeResultType = NativeResultType

Properties

parameters: Parameters

The parameters of the callbacks.

result: Result

The current result of the callback.