@resistdesign/voltra
    Preparing search index...

    Type Alias IndexMutationScope

    Storage-neutral scope used to coordinate derived index mutations.

    Implementations may batch, coalesce, transact, or otherwise coordinate writes according to the backing storage system. Generic ORM/indexing code depends only on this scope contract.

    type IndexMutationScope = {
        run<T>(operation: () => Promise<T>): Promise<T>;
    }
    Index

    Methods

    Methods

    • Execute one logical index mutation scope.

      Type Parameters

      • T

      Parameters

      • operation: () => Promise<T>

      Returns Promise<T>