Skip to main content
Module

std/node/_utils.ts>mustCall

Deno standard library
Go to Latest
function mustCall
import { mustCall } from "https://deno.land/std@0.139.0/node/_utils.ts";

Type Parameters

T extends unknown[]

Parameters

optional
fn: ((...args: T) => void) = [UNSUPPORTED]
optional
expectedExecutions = [UNSUPPORTED]
optional
timeout = [UNSUPPORTED]

Returns

[Promise<void>, (...args: T) => void]