ixfx
    Preparing search index...

    Type Alias RequestResponseOptions<TRequest, TResp>

    type RequestResponseOptions<TRequest, TResp> = {
        key: (requestOrResp: TRequest | TResp) => string;
        keyRequest: (request: TRequest) => string;
        keyResponse: (resp: TResp) => string;
        timeoutMs: number;
        whenUnmatchedResponse: "ignore" | "throw";
    }

    Type Parameters

    • TRequest
    • TResp
    Index

    Properties

    key: (requestOrResp: TRequest | TResp) => string
    keyRequest: (request: TRequest) => string
    keyResponse: (resp: TResp) => string
    timeoutMs: number
    whenUnmatchedResponse: "ignore" | "throw"