21 lines
571 B
TypeScript
21 lines
571 B
TypeScript
|
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);
|
||
|
get promise(): Promise<any>;
|
||
|
private handeTimeout;
|
||
|
private resolve;
|
||
|
private init;
|
||
|
private queryRelay;
|
||
|
private checkResponses;
|
||
|
private retry;
|
||
|
}
|
||
|
//# sourceMappingURL=rpcQuery.d.ts.map
|