mogami-stream - v0.2.0
    Preparing search index...

    Function defer

    • Creates a fresh source on the first read of each execution.

      The factory may return a source directly or a PromiseLike that resolves to one. Pass context.signal to any external I/O so cancellation can abort in-flight setup. Use context.acquire(acquire, release) for resources opened during setup; plain sources returned after cancellation are never opened or closed by the library.

      Type Parameters

      • T

      Parameters

      Returns Stream<T>