aboutsummaryrefslogtreecommitdiff
path: root/docs/src
diff options
context:
space:
mode:
Diffstat (limited to 'docs/src')
-rw-r--r--docs/src/async.rst6
1 files changed, 5 insertions, 1 deletions
diff --git a/docs/src/async.rst b/docs/src/async.rst
index 5c400458..02e6a58e 100644
--- a/docs/src/async.rst
+++ b/docs/src/async.rst
@@ -35,12 +35,16 @@ API
Initialize the handle. A NULL callback is allowed.
+ :returns: 0 on success, or an error code < 0 on failure.
+
.. note::
Unlike other handle initialization functions, it immediately starts the handle.
.. c:function:: int uv_async_send(uv_async_t* async)
- Wakeup the event loop and call the async handle's callback.
+ Wake up the event loop and call the async handle's callback.
+
+ :returns: 0 on success, or an error code < 0 on failure.
.. note::
It's safe to call this function from any thread. The callback will be called on the