% Generated by roxygen2: do not edit by hand % Please edit documentation in R/aio.R \name{race_aio} \alias{race_aio} \title{Race Aio} \usage{ race_aio(x, cv) } \arguments{ \item{x}{A list of Aio objects.} \item{cv}{A condition variable. This must be the same cv supplied to \code{\link[=recv_aio]{recv_aio()}} or \code{\link[=request]{request()}} when creating the Aio objects in \code{x}.} } \value{ Integer index of the first resolved Aio, or 0L if none are resolved, the list is empty, or the cv was terminated. } \description{ Returns the index of the first resolved Aio in a list, waiting if necessary. }