Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/denjucks/src/deps/path/std/async/mod.ts

Deno templating engine
Latest
import * as denjucks from "https://deno.land/x/denjucks@1.1.1/src/deps/path/std/async/mod.ts";

Classes

The MuxAsyncIterator class multiplexes multiple async iterators into a single stream. It currently makes a few assumptions:

  • The iterators do not throw.
  • The final result (the value returned and not yielded from the iterator) does not matter; if there is any, it is discarded.

Functions

Creates a Promise with the reject and resolve functions placed as methods on the promise object itself. It allows you to do: