@storehouse/redis - v0.1.0
    Preparing search index...

    Interface OperationGuard

    Runs operations through an operation guard, which can enforce policies such as retries, circuit breaking, or fail-fast behavior.

    interface OperationGuard {
        run<R>(operation: () => Promise<R>): Promise<R>;
    }

    Implemented by

    Index
    • Type Parameters

      • R

      Parameters

      • operation: () => Promise<R>

      Returns Promise<R>