Function cancel_batch

Source
pub fn cancel_batch<C, Fut, B, E>(
    client: C,
    params: &CancelBatchParams,
) -> CancelBatch<Fut, B, E> 
where C: FnOnce(Request<String>) -> Fut, Fut: Future<Output = Result<Response<B>, E>>, B: Body,
Expand description

Cancels an in-progress batch. The batch will be in status cancelling for up to 10 minutes, before changing to cancelled, where it will have partial results (if any) available in the output file.