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

x/live/utils/promise.ts

Open-Source web editor based on Preact, Tailwind and TypeScript. The other side of code.
Go to Latest
import * as live from "https://deno.land/x/live@1.60.20/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.