pub trait BatchTransport: Transport {
    type Batch: Future<Output = Result<Vec<Result<Value>>>>;

    fn send_batch<T>(&self, requests: T) -> Self::Batch
    where
        T: IntoIterator<Item = (RequestId, Call)>
; }
Expand description

A transport implementation supporting batch requests.

Required Associated Types

The type of future this transport returns when a call is made.

Required Methods

Sends a batch of prepared RPC calls.

Implementors