summaryrefslogtreecommitdiff
path: root/man/sd_bus_add_object.xml
diff options
context:
space:
mode:
authorigo95862 <igo95862@yandex.ru>2021-03-16 21:43:12 +0300
committerLennart Poettering <lennart@poettering.net>2021-03-17 16:15:56 +0100
commitca1eacd8e0e51aae34bb919392fe74c10cb4506d (patch)
treeb73cc96d3bcfdd377f378e64a70396e9eab14ca1 /man/sd_bus_add_object.xml
parent5e23c2f42f103b78473c1b4442b0286ad6c4d06b (diff)
downloadsystemd-ca1eacd8e0e51aae34bb919392fe74c10cb4506d.tar.gz
man: Specify that only d-bus methods can be answered async
Not properties.
Diffstat (limited to 'man/sd_bus_add_object.xml')
-rw-r--r--man/sd_bus_add_object.xml5
1 files changed, 3 insertions, 2 deletions
diff --git a/man/sd_bus_add_object.xml b/man/sd_bus_add_object.xml
index 00e4110739..31a3344bbd 100644
--- a/man/sd_bus_add_object.xml
+++ b/man/sd_bus_add_object.xml
@@ -294,11 +294,12 @@
returns zero, an error reply is sent back to the caller indicating no matching object for the
request was found.</para>
- <para>Note that you can return a positive integer from a callback without
+ <para>Note that you can return a positive integer from a <parameter>method</parameter> 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.
- However, if producing a reply takes too long, the method call will time out at the caller.</para>
+ However, if producing a reply takes too long, the method call will time out at the caller. This is
+ only available to methods and not properties.</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