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

x/deco/utils/promise.ts

Git-based Visual CMS for Deno, </> htmx and Tailwind apps. Deploy on any Deno-compatible host.
Latest
import * as deco from "https://deno.land/x/deco@1.107.0/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.