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

x/dtils/mod.ts>promisify

The best unofficial library of utilities for Deno applications
Go to Latest
function promisify
import { promisify } from "https://deno.land/x/dtils@2.4.0/mod.ts";

Parameters

val: T | Promise<T>

Returns

Promise<T>