import { FromPromise } from "https://deno.land/x/rimbu@1.0.3/stream/async-custom/index.ts";
Constructors
new
FromPromise(promise: () => Promise<AsyncStreamSource<T>>,
asyncStreamSourceHelpers: AsyncStreamSourceHelpers,
close?: () => MaybePromise<void>,
Properties
iterator: AsyncFastIterator<T> | undefined
Methods
fastNext<O>(otherwise?: AsyncOptLazy<O>): Promise<T | O>