rpc-client/dist/types.d.ts

10 lines
305 B
TypeScript
Raw Normal View History

2022-08-27 19:13:00 +00:00
export interface RpcQueryOptions {
queryTimeout?: number;
relayTimeout?: number;
2022-06-27 19:51:51 +00:00
}
2022-08-27 19:13:00 +00:00
export interface StreamingRpcQueryOptions extends RpcQueryOptions {
streamHandler: StreamHandlerFunction;
2022-06-27 19:51:51 +00:00
}
2022-08-27 19:13:00 +00:00
export declare type StreamHandlerFunction = (data: Uint8Array) => void;
2022-08-18 23:20:23 +00:00
//# sourceMappingURL=types.d.ts.map