Skip to main content

send_batch

Function send_batch 

Source
pub(super) async fn send_batch<E: BatchEndpoint, K, R, A>(
    registry: &mut SuotarStudyRegistry<'_>,
    entries: Vec<BatchEntry<K, R>>,
    options: BatchOptions,
    encode: impl Fn(&R, String) -> E::Item,
    decode: impl Fn(&SuotarResponseItem<E::Result>) -> A,
) -> BatchReply<K, R, A>
Expand description

Sends entries in one request to E, every item under a fresh requestItemId, a resent half’s included.