#include <nng/nng.h> void nng_sleep_aio(nng_duration msec, nng_aio *aio);
|This documentation is for the TIP (development tree) of NNG and may represent unreleased changes or functionality that is experimental, and is subject to change before release. The latest released version is v1.3.2. See the documentation for v1.3.2 for the most up-to-date information.|
nng_sleep_aio - sleep asynchronously
nng_sleep_aio() function provides an asynchronous delay mechanism,
causing the callback for aio to be executed after msec milliseconds.
If the sleep finishes completely, the result will always be zero.
If a timeout is set on aio using