import { FromResourceIterator } from "https://deno.land/x/rimbu@1.0.3/stream/async-custom/async-fast-iterator-base.ts";
Constructors
new
FromResourceIterator(open: () => MaybePromise<R>,
createSource: (resource: R) => MaybePromise<AsyncStreamSource<T>>,
close: (resource: R) => MaybePromise<void>,
asyncStreamSourceHelpers: AsyncStreamSourceHelpers,
Properties
optional
iterator: AsyncFastIterator<T>optional
resource: RMethods
fastNext<O>(otherwise?: AsyncOptLazy<O>): Promise<T | O>