BUPKIS
    Preparing search index...

    Variable asyncIterableRejectsWithTypeAssertionConst

    asyncIterableRejectsWithTypeAssertion: AssertionFunctionAsync<
        readonly [
            ZodUnion<
                readonly [
                    ZodCustom<
                        AsyncIterable<unknown, any, any>,
                        AsyncIterable<unknown, any, any>,
                    >,
                    ZodCustom<
                        AsyncIterator<unknown, any, any>,
                        AsyncIterator<unknown, any, any>,
                    >,
                    ZodCustom<Iterable<unknown, any, any>, Iterable<unknown, any, any>>,
                ],
            >,
            readonly ["to reject with a", "to reject with an"],
            ZodCustom<Constructor, Constructor>,
        ],
        (
            subject:
                | Iterable<unknown, any, any>
                | AsyncIterable<unknown, any, any>
                | AsyncIterator<unknown, any, any>,
            expectedType: Constructor,
        ) => Promise<{ message: string } | undefined>,
        readonly [
            ZodUnion<
                readonly [
                    ZodCustom<
                        AsyncIterable<unknown, any, any>,
                        AsyncIterable<unknown, any, any>,
                    >,
                    ZodCustom<
                        AsyncIterator<unknown, any, any>,
                        AsyncIterator<unknown, any, any>,
                    >,
                    ZodCustom<Iterable<unknown, any, any>, Iterable<unknown, any, any>>,
                ],
            >,
            PhraseLiteralChoiceSlot<
                readonly ["to reject with a", "to reject with an"],
            >,
            ZodCustom<Constructor, Constructor>,
        ],
    > = ...

    Asserts that an async iterable rejects with a specific error type.

    await expectAsync(failingStream, 'to reject with a', TypeError);
    await expectAsync(failingStream, 'to reject with an', Error);

    async-iterable-to-reject-with-a-constructor

    iterable