rpc-client/dist/query/simple.d.ts

19 lines
588 B
TypeScript
Raw Normal View History

2022-08-28 06:33:49 +00:00
import RpcNetwork from "../network.js";
2022-12-04 07:42:04 +00:00
import { ClientRPCRequest } from "@lumeweb/relay-types";
2022-08-28 06:33:49 +00:00
import { RpcQueryOptions } from "../types.js";
2022-12-04 07:42:04 +00:00
import RpcQueryBase from "./base.js";
2022-08-28 06:33:49 +00:00
export default class SimpleRpcQuery extends RpcQueryBase {
2022-12-04 07:42:04 +00:00
protected _relay: string;
2022-12-04 11:37:24 +00:00
protected _query: ClientRPCRequest;
2022-08-28 06:33:49 +00:00
constructor(
network: RpcNetwork,
2022-12-04 07:42:04 +00:00
relay: string,
query: ClientRPCRequest,
2022-08-28 06:33:49 +00:00
options: RpcQueryOptions
);
2022-12-04 07:42:04 +00:00
protected _run(): Promise<void>;
protected queryRelay(): Promise<any>;
protected checkResponses(): Promise<void>;
2022-08-28 06:33:49 +00:00
}
//# sourceMappingURL=simple.d.ts.map