Module

std/node/util.ts>promisify

Deno standard library
Go to Latest
function promisify
import { promisify } from "https://dotland.deno.dev/std@0.110.0/node/util.ts";

Parameters

original: (...args: any[]) => void

Returns

(...args: any[]) => Promise<any>
import promisify
import { promisify } from "https://dotland.deno.dev/std@0.110.0/node/util.ts";