@jiminp/tooltool
    Preparing search index...

    Module iterator

    Interfaces

    AsyncGeneratorExecutor

    Callback interface for controlling async generator execution.

    Type Aliases

    AsyncEvent

    Union type representing all possible events in an async generator execution.

    AsyncReturnEvent

    Represents a return event in an async generator execution.

    AsyncThrowEvent

    Represents a throw (error) event in an async generator execution.

    AsyncYieldEvent

    Represents a yield event in an async generator execution.

    Functions

    isAsyncIterable

    Type guard to check if an iterable is an async iterable.

    range

    Creates a generator that yields a sequence of numbers or bigints.

    runGenerator

    Run a generator (sync or async) to completion, optionally observing each yielded value.

    toAsyncGenerator

    Converts a callback-based API to an async generator.