Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

added `local_actor::has_sync_failure_handler`

  • Loading branch information...
commit b361e0e7a34407a0c19c8110eae904c2e1141677 1 parent 682b0ee
@Neverlord Neverlord authored
Showing with 7 additions and 0 deletions.
  1. +7 −0 cppa/local_actor.hpp
View
7 cppa/local_actor.hpp
@@ -222,6 +222,13 @@ class local_actor : public extend<actor>::with<memory_cached> {
}
/**
+ * @brief Checks wheter this actor has a user-defined sync failure handler.
+ */
+ inline bool has_sync_failure_handler() {
+ return static_cast<bool>(m_sync_failure_handler);
+ }
+
+ /**
* @brief Calls <tt>on_sync_timeout(fun); on_sync_failure(fun);</tt>.
*/
inline void on_sync_timeout_or_failure(std::function<void()> fun) {
Please sign in to comment.
Something went wrong with that request. Please try again.