bupkis
    Preparing search index...

    Interface AssertionFunctionAsync<Parts, Impl, Slots>

    An async assertion with a function implementation.

    interface AssertionFunctionAsync<
        Parts extends AssertionParts,
        Impl extends AssertionImplFnAsync<Parts>,
        Slots extends AssertionSlots<Parts>,
    > {
        impl: Impl;
        id: string;
        parts: Parts;
        slots: Slots;
        executeAsync(
            parsedValues: ParsedValues<Parts>,
            args: unknown[],
            stackStartFn: (...args: any[]) => any,
            parseResult?: ParsedResult<Parts>,
        ): Promise<void>;
        parseValuesAsync<Args extends readonly unknown[]>(
            args: Args,
        ): Promise<ParsedResult<Parts>>;
        toString(): string;
    }

    Type Parameters

    Hierarchy (View Summary)

    Index

    Properties

    impl: Impl

    The implementation function or schema for this assertion.

    id: string
    parts: Parts

    The assertion parts used to create this assertion.

    Available at runtime for introspection.

    slots: Slots

    The slots derived from assertion parts for validation.

    Methods