pub fn awaitConcurrent(batch: *Batch, io: Io, timeout: Timeout) AwaitConcurrentError!void 693
694
695 pub fn awaitConcurrent(batch: *Batch, io: Io, timeout: Timeout) AwaitConcurrentError!void {
return io.vtable.batchAwaitConcurrent(io.userdata, batch, timeout);
}
Waits for at least one of the submitted operations to complete. After this function returns the completed operations can be iterated with
next.Unlike
awaitAsync, this function requires the implementation to perform the operations concurrently and therefore can fail witherror.ConcurrencyUnavailable.