Logos DX
    Preparing search index...

    Type Alias ComposeFlowOptions<T>

    type ComposeFlowOptions<T extends AsyncFunc> = {
        circuitBreaker?: CircuitBreakerOptions<T>;
        inflight?: InflightOptions<Parameters<T>, string, Awaited<ReturnType<T>>>;
        rateLimit?: RateLimitOptions<T>;
        retry?: RetryOptions;
        withTimeout?: WithTimeoutOptions;
    }

    Type Parameters

    Index

    Properties

    circuitBreaker?: CircuitBreakerOptions<T>

    Create a circuit breaker for the function.

    Deduplicate in-flight requests with the same key.

    rateLimit?: RateLimitOptions<T>

    Rate limit the function.

    retry?: RetryOptions

    Retry the function.

    withTimeout?: WithTimeoutOptions

    Timeout the function.