• Creates an async-iterable that throws the specified error upon iterating.

    Parameters

    • error: any

      The error to throw upon iterating the async-iterable.

    Returns AsyncIterable<never>

    An async-iterable that throws when iterated.

Generated using TypeDoc