]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
man: Specify that only d-bus methods can be answered async
authorigo95862 <igo95862@yandex.ru>
Tue, 16 Mar 2021 18:43:12 +0000 (21:43 +0300)
committerLennart Poettering <lennart@poettering.net>
Wed, 17 Mar 2021 15:15:56 +0000 (16:15 +0100)
Not properties.

man/sd_bus_add_object.xml

index 00e4110739df3b44301a9a9da2ec3fe1a3286b0b..31a3344bbd7629315c37323a0e15c7d716dd8ff5 100644 (file)
     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