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

20 lines
658 B
TypeScript
Raw Normal View History

2022-08-28 06:33:49 +00:00
/// <reference types="node" />
import SimpleRpcQuery from "./simple.js";
import { Buffer } from "buffer";
2022-08-29 02:18:04 +00:00
import type { RPCRequest } from "@lumeweb/relay-types";
2022-08-28 06:33:49 +00:00
import RpcNetwork from "../network.js";
import { StreamingRpcQueryOptions } from "../types.js";
export default class StreamingRpcQuery extends SimpleRpcQuery {
protected _options: StreamingRpcQueryOptions;
2022-08-31 23:59:06 +00:00
protected _canceled: boolean;
2022-08-28 06:33:49 +00:00
constructor(
network: RpcNetwork,
relay: string | Buffer,
query: RPCRequest,
options: StreamingRpcQueryOptions
);
2022-08-31 23:59:06 +00:00
cancel(): void;
2022-08-28 06:33:49 +00:00
protected queryRelay(relay: string | Buffer): Promise<any>;
}
//# sourceMappingURL=streaming.d.ts.map