BUPKIS
    Preparing search index...

    Variable asyncIterableYieldsLastAssertionConst

    asyncIterableYieldsLastAssertion: 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 yield last", "to yield last satisfying"],
            ZodUnknown,
        ],
        (
            subject:
                | Iterable<unknown, any, any>
                | AsyncIterable<unknown, any, any>
                | AsyncIterator<unknown, any, any>,
            expected: unknown,
        ) => 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 yield last", "to yield last satisfying"],
            >,
            ZodUnknown,
        ],
    > = ...

    Asserts that the last yielded value satisfies the expected shape.

    Uses partial/satisfy semantics. Note: fully consumes the async iterator.

    await expectAsync(asyncGen(), 'to yield last', { type: 'footer' });
    

    async-iterable-to-yield-last-any

    iterable