function setImmediate
Usage in Deno
import { setImmediate } from "node:timers/promises";
setImmediate<T = void>(value?: T,options?: TimerOptions,): Promise<T>
import { setImmediate, } from 'timers/promises'; const res = await setImmediate('result'); console.log(res); // Prints 'result'
optional
value: T
A value with which the promise is fulfilled.
optional
options: TimerOptions
Promise<T>