Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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.1/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.