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>,
    > {
        id: string;
        impl: Impl;
        parts: Parts;
        slots: Slots;
        executeAsync(
            parsedValues: ParsedValues<Parts>,
            args: unknown[],
            stackStartFn: (...args: any[]) => any,
            parseResult?: ParsedResult<Parts>,
        ): Promise<void>;
        getIndexPhrases(): readonly string[];
        parseValuesAsync<Args extends readonly unknown[]>(
            args: Args,
        ): Promise<ParsedResult<Parts>>;
        toString(): string;
    }

    Type Parameters

    Hierarchy (View Summary)

    Index

    Methods

    • Extracts phrase literals from this assertion for use in dispatch indexing.

      Returns phrases from the first phrase literal slot found (typically slot 1 for subject-first assertions, or slot 0 for phrase-first assertions). Handles both single phrase literals and phrase literal choices.

      Returns readonly string[]

      Array of phrase strings for indexing, or empty array if none found

    Properties

    id: string

    Unique identifier for this assertion

    impl: Impl

    The implementation function or schema for this assertion.

    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.