BUPKIS
    Preparing search index...

    Variable asyncIterableCompletesAssertionConst

    asyncIterableCompletesAssertion: 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 complete", "to finish"],
        ],
        (
            subject:
                | Iterable<unknown, any, any>
                | AsyncIterable<unknown, any, any>
                | AsyncIterator<unknown, any, any>,
        ) => 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 complete", "to finish"]>,
        ],
    > = ...

    Asserts that an async iterable completes without throwing.

    Fully consumes the iterator and verifies no error is thrown during iteration.

    await expectAsync(asyncGenerator(), 'to complete'); // passes if no error
    await expectAsync(nodeReadable, 'to finish'); // passes if stream ends cleanly

    async-iterable-to-complete

    iterable