method RpcInterceptorStore.prototype.set
RpcInterceptorStore.prototype.set(handler: RpcFetchHandler): void

Installs the handler. A later call replaces the previous one.

Parameters

handler: RpcFetchHandler

The RPC fetch handler to consult on requests

Return Type

void

Usage

import { RpcInterceptorStore } from "runtime/src/index.ts";