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

x/dtils/promise.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.0/promise.ts";

Parameters

val: T | Promise<T>

Returns

Promise<T>