Commit da5cadba authored by Dominik Charousset's avatar Dominik Charousset

removed handle_sync_failure from public API

parent 5c92b806
......@@ -236,24 +236,18 @@ class local_actor : public extend<actor>::with<memory_cached> {
on_sync_failure(fun);
}
/**
* @brief Invokes the handler for synchronous timeouts.
*/
/** @cond PRIVATE */
inline void handle_sync_timeout() {
if (m_sync_timeout_handler) m_sync_timeout_handler();
else quit(exit_reason::unhandled_sync_timeout);
}
/**
* @brief Invokes the handler for unexpected synchronous response messages.
*/
inline void handle_sync_failure() {
if (m_sync_failure_handler) m_sync_failure_handler();
else quit(exit_reason::unhandled_sync_failure);
}
/** @cond PRIVATE */
virtual void dequeue(behavior& bhvr) = 0;
inline void dequeue(behavior&& bhvr);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment