Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

JsonRpcBatchProvider

class JsonRpcBatchProvider extends JsonRpcProvider {
_pendingBatch: Array<{
request: {
method: string;
params: Array<any>;
id: number;
jsonrpc: "2.0";
}
;
resolve: (result: any) => void;
reject: (error: Error) => void;
}
>
;
_pendingBatchAggregator: NodeJS.Timer;
 
send(method: string, params: Array<any>): Promise<any>;
}

§Extends

§
JsonRpcProvider
[src]

§Properties

§
_pendingBatch: Array<{
request: {
method: string;
params: Array<any>;
id: number;
jsonrpc: "2.0";
}
;
resolve: (result: any) => void;
reject: (error: Error) => void;
}
>
[src]
§
_pendingBatchAggregator: NodeJS.Timer
[src]

§Methods

§
send(method: string, params: Array<any>): Promise<any>
[src]