@jiminp/tooltool
    Preparing search index...

    Module iterator

    AsyncChannel

    Bidirectional async channel combining AsyncSink and AsyncSource.

    AsyncSink

    Write-side of an async channel that pushes values, completion, or errors.

    AsyncSource

    Read-side of an async channel that consumes values via iteration or callbacks.

    AsyncEvent

    Union of generator events: yield, return, or throw.

    AsyncReturnEvent

    A return event.

    AsyncThrowEvent

    A throw event.

    AsyncYieldEvent

    A yield event.

    batched

    Yields elements from a generator in batches of size n.

    createAsyncChannel

    Creates an async channel that buffers values and replays them to each iterator.

    createAsyncSource

    Creates an AsyncSource backed by a shared event buffer.

    isAsyncIterable

    Type guard: checks if an iterable is async.

    pipeToAsyncSink

    Consumes an async source, forwarding yields to sink.next(), its final return value to sink.complete(), and failures advancing the source to sink.error().

    range

    Creates a lazy generator yielding a sequence of numbers or bigints (like Python's range()).

    runGenerator

    Runs a generator to completion, optionally observing each yielded value.