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

x/ayonli_jsext/promise/index.ts>AsyncTask

A JavaScript extension package for building strong and modern applications.
Latest
type alias AsyncTask
import { type AsyncTask } from "https://deno.land/x/ayonli_jsext@v0.9.72/promise/index.ts";

A promise that can be resolved or rejected manually.

definition: Promise<T> & { resolve: (value: T | PromiseLike<T>) => void; reject: (reason?: any) => void; }