rpc-client/dist/rpcQuery.d.ts

21 lines
570 B
TypeScript
Raw Normal View History

2022-06-27 19:51:51 +00:00
import RpcNetwork from "./rpcNetwork.js";
import { RPCRequest } from "./types";
export default class RpcQuery {
private _network;
private _query;
private _promise?;
private _timeoutTimer?;
private _timeout;
private _completed;
private _responses;
private _promiseResolve?;
constructor(network: RpcNetwork, query: RPCRequest);
2022-07-20 06:04:37 +00:00
get result(): Promise<any>;
2022-06-27 19:51:51 +00:00
private handeTimeout;
private resolve;
private init;
private queryRelay;
private checkResponses;
private retry;
}
//# sourceMappingURL=rpcQuery.d.ts.map