rpc-client/dist/types.d.ts

10 lines
305 B
TypeScript

export interface RpcQueryOptions {
queryTimeout?: number;
relayTimeout?: number;
}
export interface StreamingRpcQueryOptions extends RpcQueryOptions {
streamHandler: StreamHandlerFunction;
}
export declare type StreamHandlerFunction = (data: Uint8Array) => void;
//# sourceMappingURL=types.d.ts.map