import * as ayonliJsext from "https://deno.land/x/ayonli_jsext@v0.9.72/promise/index.ts";
Functions for async/promise context handling.
Functions
Wraps an async iterable object with an abort signal. | |
Creates a new abort controller with a | |
Resolves a promise only after the given duration. | |
Creates a promise that can be resolved or rejected manually. | |
Runs multiple tasks concurrently and returns the result of the first task that completes. The rest of the tasks will be aborted. | |
Blocks the context for a given duration. | |
Try to resolve a promise with a timeout limit. | |
Blocks the current routine until the test returns a truthy value, which is
not |
Interfaces
Options for abortWith. |
Type Aliases
A promise that can be resolved or rejected manually. |