From 1ad7f88e0c58285c9e1cad9448d5a1fcfa7a07f1 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Thu, 26 Dec 2024 14:10:09 -0800 Subject: aio: nng_aio_defer replaced by nng_aio_start This represents an API change, and we remove the nng_aio_begin function as well, introducing the lightweight nng_aio_reset instead. --- docs/ref/api/aio.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/ref/api') diff --git a/docs/ref/api/aio.md b/docs/ref/api/aio.md index 966201ba..6e084e43 100644 --- a/docs/ref/api/aio.md +++ b/docs/ref/api/aio.md @@ -103,7 +103,7 @@ The {{i:`nng_aio_cancel`}} function acts like `nng_aio_abort`, but uses the erro The {{i:`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`] +new operations scheduled by I/O providers using [`nng_aio_start`] return false. Thus this function should be used to teardown operations. > [!TIP] -- cgit v1.2.3-70-g09d2