/// Generate a Future/CallTag pair for batch jobs.
Generate a Future/CallTag pair for batch jobs.
Generate a Future / CallTag pair for batch jobs .
pub fn batch_pair(ty: BatchType) -> (BatchFuture, CallTag) {
        let inner = new_inner();
        let batch = BatchPromise::new(ty, inner.clone());
        (CqFuture::new(inner), CallTag::Batch(batch))
    }
pub fn batch_pair ( ty : BatchType ) -> ( BatchFuture , CallTag ) { let inner = new_inner ( ) ; let batch = BatchPromise :: new ( ty , inner . clone ( ) ) ; ( CqFuture :: new ( inner ) , CallTag :: Batch ( batch ) ) }
Generate a Future/CallTag pair for batch jobs.
Generate a Future / CallTag pair for batch jobs .
ty
BatchType