AppleSauce
    Preparing search index...

    Type Alias TRelayMethod<Method, Params, Result>

    Merged relay management method and response types

    type TRelayMethod<
        Method extends string = string,
        Params extends any[] = any[],
        Result extends any = any,
    > = {
        error: TRelayErrorResponse;
        method: Method;
        request: TRelayRequest<Method, Params>;
        response: TRelaySuccessResponse<Result>;
    }

    Type Parameters

    • Method extends string = string
    • Params extends any[] = any[]
    • Result extends any = any
    Index

    Properties

    Response error type

    method: Method

    Method string

    Request type

    Response success type