Skip to main content

read_batch_async

Function read_batch_async 

Source
pub fn read_batch_async(file: File, reads: Vec<OwnedRead>) -> ReadBatch ⓘ
Expand description

Submits an owned read batch to the shared native completion worker.

The first poll transfers ownership to the worker if capacity is available. Dropping before admission discards the job; dropping after admission only detaches the observer and the worker completes the operation.