| 1 |
% Generated by roxygen2: do not edit by hand |
| 2 |
% Please edit documentation in R/aio.R |
| 3 |
\name{stop_aio} |
| 4 |
\alias{stop_aio} |
| 5 |
\title{Stop Asynchronous Aio Operation} |
| 6 |
\usage{ |
| 7 |
stop_aio(x) |
| 8 |
} |
| 9 |
\arguments{ |
| 10 |
\item{x}{an Aio or list of Aios (objects of class 'sendAio', 'recvAio' or |
| 11 |
'ncurlAio').} |
| 12 |
} |
| 13 |
\value{ |
| 14 |
Invisible NULL. |
| 15 |
} |
| 16 |
\description{ |
| 17 |
Stop an asynchronous Aio operation, or a list of Aio operations. |
| 18 |
} |
| 19 |
\details{ |
| 20 |
Stops the asynchronous I/O operation associated with Aio \code{x} by aborting, and |
| 21 |
then waits for it to complete or to be completely aborted, and for the |
| 22 |
callback associated with the Aio to have completed executing. If successful, |
| 23 |
the Aio will resolve to an 'errorValue' 20 (Operation canceled). |
| 24 |
|
| 25 |
Note this function operates silently and does not error even if \code{x} is not an |
| 26 |
active Aio, always returning invisible NULL. |
| 27 |
} |