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

std/node/util.ts>promisify

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
function promisify
import { promisify } from "https://deno.land/std@0.88.0/node/util.ts";

Parameters

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

Returns

(...args: any[]) => Promise<any>