From: igo95862 Date: Tue, 16 Mar 2021 18:43:12 +0000 (+0300) Subject: man: Specify that only d-bus methods can be answered async X-Git-Tag: v248-rc4~6 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ca1eacd8e0e51aae34bb919392fe74c10cb4506d;p=thirdparty%2Fsystemd.git man: Specify that only d-bus methods can be answered async Not properties. --- diff --git a/man/sd_bus_add_object.xml b/man/sd_bus_add_object.xml index 00e4110739d..31a3344bbd7 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. - Note that you can return a positive integer from a callback without + Note that you can return a positive integer from a method 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. + 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. 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