From ca1eacd8e0e51aae34bb919392fe74c10cb4506d Mon Sep 17 00:00:00 2001 From: igo95862 Date: Tue, 16 Mar 2021 21:43:12 +0300 Subject: [PATCH] man: Specify that only d-bus methods can be answered async Not properties. --- man/sd_bus_add_object.xml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 -- 2.47.3