summaryrefslogtreecommitdiff
path: root/man/sd_bus_add_object.xml
diff options
context:
space:
mode:
authorigo95862 <igo95862@yandex.ru>2020-11-17 10:54:19 +0300
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-11-17 09:05:18 +0100
commit2e4238a6d14223728dbfbb24830e644d31b04111 (patch)
tree4399308a1d8abe5f4309eac6ccdf17d2c53251ab /man/sd_bus_add_object.xml
parent7d7c75f1491350cedaed40358fe8c834705706f0 (diff)
downloadsystemd-2e4238a6d14223728dbfbb24830e644d31b04111.tar.gz
man: Separated paragraph about making sd_bus object reply async
Diffstat (limited to 'man/sd_bus_add_object.xml')
-rw-r--r--man/sd_bus_add_object.xml8
1 files changed, 5 insertions, 3 deletions
diff --git a/man/sd_bus_add_object.xml b/man/sd_bus_add_object.xml
index f03839ec6f..0f5d00cd5b 100644
--- a/man/sd_bus_add_object.xml
+++ b/man/sd_bus_add_object.xml
@@ -292,11 +292,13 @@
attached to the request object path, interface and member. Finally, the property callbacks
attached to the request object path, interface and member are called. If the final callback
returns zero, an error reply is sent back to the caller indicating no matching object for the
- request was found. Note that you can return a positive integer from a callback without
+ request was found.</para>
+
+ <para>Note that you can return a positive integer from a callback without
immediately sending a reply. This informs sd-bus this callback will take responsibility for
replying to the request without forcing the callback to produce a reply immediately. This allows
- a callback to perform any number of asynchronous operations required to construct a reply. Note
- that if producing a reply takes too long, the method call will time out at the caller.</para>
+ a callback to perform any number of asynchronous operations required to construct a reply.
+ However, if producing a reply takes too long, the method call will time out at the caller.</para>
<para>If a callback was invoked to handle a request that expects a reply and the callback
returns a negative value, the value is interpreted as a negative errno-style error code and sent