From 786dd2a243f25182d3b7ee7ae95248b1181b3dff Mon Sep 17 00:00:00 2001 From: gdamore Date: Thu, 26 Dec 2024 21:58:31 +0000 Subject: deploy: 8027aebffe30fefbd320ac1c14866bfe85c1e915 --- ref/api/aio.html | 2 +- ref/api/errors.html | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'ref/api') diff --git a/ref/api/aio.html b/ref/api/aio.html index 4d07546e..944c376b 100644 --- a/ref/api/aio.html +++ b/ref/api/aio.html @@ -310,7 +310,7 @@ and returns immediately without waiting. If cancellation was successful, then nng_aio_result will return err.

The nng_aio_cancel function acts like nng_aio_abort, but uses the error code NNG_ECANCELED.

-

The nng_aio_stop function aborts the aio operation with NNG_ECANCELED, +

The nng_aio_stop function aborts the aio operation with [NNG_ESTOPPED], and then waits the operation and any associated callback to complete. This function also marks aio itself permanently stopped, so that any new operations scheduled by I/O providers using nng_aio_begin diff --git a/ref/api/errors.html b/ref/api/errors.html index de9eab7d..980d639b 100644 --- a/ref/api/errors.html +++ b/ref/api/errors.html @@ -281,6 +281,7 @@ as in diagnostic messages or log entries.

NNG_EAMBIGUOUS29Ambiguous option. The command line option could not be unambiguously resolved. Only used with nng_opts_parse. NNG_EBADTYPE30Incorrect type. A type-specific function was used for an object of the wrong type. NNG_ECONNSHUT31Connection shutdown. The connection was shut down and cannot be used. +NNG_ESTOPPED1000Operation stopped. The operation was stopped with nng_aio_stop or [nng_aio_close]. NNG_EINTERNAL1000An unidentifier internal error occurred. NNG_ESYSERR0x10000000 - 0x1FFFFFFFAn unidentified system error occurred. These are errors reported by the operating system. NNG_ETRANERR0x20000000 - 0x2FFFFFFFAn unidentified transport error occurred. -- cgit v1.2.3-70-g09d2