BUPKIS
    Preparing search index...

    Type Alias ExpectItAsync<AsyncAssertions>

    ExpectItAsync: UnionToIntersection<
        TupleToUnion<
            {
                [K in keyof AsyncAssertions]: AsyncAssertions[K] extends AnyAsyncAssertion
                    ? AsyncAssertions[K]["parts"] extends AssertionParts
                        ? ExpectItFunctionAsync<AsyncAssertions[K]["parts"]>
                        : never
                    : never
            },
        >,
    >

    Factory type for creating async embeddable assertion executors.

    This type generates a union of all possible expectAsync.it function signatures based on the available asynchronous assertions. Each assertion contributes its own function signature to create embeddable async executors that can be used within async object patterns for complex validation scenarios.

    The resulting functions are designed to be used exclusively within async 'to satisfy' assertion contexts, where they provide type-safe pattern matching for nested object structures with Promise-based validation.

    Type Parameters

    // Create embeddable async assertion functions
    const isAsyncString = expectAsync.it('to be a string');
    const resolvesFast = expectAsync.it('to resolve quickly');

    // Use within async 'to satisfy' patterns
    await expectAsync(asyncUser, 'to satisfy', {
    name: isAsyncString,
    loadPromise: resolvesFast,
    });