rpc-client/dist/rpcQuery.d.ts

24 lines
581 B
TypeScript
Raw Normal View History

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