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

x/dtils/mod.unstable.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.2.1/mod.unstable.ts";

Parameters

val: T | Promise<T>

Returns

Promise<T>