Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/live/utils/promise.ts

Git-based Visual CMS for Deno, </> htmx and Tailwind apps. Deploy on any Deno-compatible host.
Very Popular
Latest
import * as live from "https://deno.land/x/live@1.74.1/utils/promise.ts";

Functions

Creates a Promise with the reject and resolve functions placed as methods on the promise object itself.

Type Aliases

Promise.prototype.then onfufilled callback type.

Promise.then onrejected callback type.