[systemd-devel] delayed reply to sd-bus method invocation

Jason Litzinger jlitzingerdev at gmail.com
Thu Jun 29 02:52:49 UTC 2017

I have a daemon using the sd-bus API with a use case that I suspect
is supported, but wanted to see if there was an example anywhere (I've
been looking, haven't found one yet).

Is there a case in the systemd codebase (or something else) where a
method is invoked but its handler doesn't immediately reply?

What I'm trying to achieve is:

* method called
* Handler triggers some IO
<time passes>
* Important event occurs
* Reply message sent to the caller

I'm assuming this is possible/implemented, if not that would also be
good to know :).

Thanks in advance!
-Jason Litzinger

More information about the systemd-devel mailing list