event/Call: document exceptions

This commit is contained in:
Max Kellermann 2017-12-20 10:50:36 +01:00
parent 6a31446671
commit 36899dba0b

View File

@ -29,6 +29,8 @@ class EventLoop;
/**
* Call the given function in the context of the #EventLoop, and wait
* for it to finish.
*
* Exceptions thrown by the given function will be rethrown.
*/
void
BlockingCall(EventLoop &loop, std::function<void()> &&f);