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

24 lines
660 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 {
2023-03-18 16:11:41 +00:00
protected _relay?: string | any;
2022-12-04 11:37:24 +00:00
protected _query: ClientRPCRequest;
2023-03-18 16:11:41 +00:00
constructor({
network,
relay,
query,
options,
}: {
network: RpcNetwork;
relay?: string | any;
query: ClientRPCRequest;
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