MCPcopy Create free account
hub / github.com/AlexInLog/ReactivePlusPlus / is_disposed

Method is_disposed

src/rpp/rpp/observers/observer.hpp:74–77  ·  view source on GitHub ↗

* @brief Observable calls this method to check if observer interested or not in emissions * * @return true if observer disposed and no longer interested in emissions * @return false if observer still interested in emissions */

Source from the content-addressed store, hash-verified

72 * @return false if observer still interested in emissions
73 */
74 bool is_disposed() const noexcept
75 {
76 return m_disposable.is_disposed() || m_strategy.is_disposed();
77 }
78
79 /**
80 * @brief Observable calls this method to notify observer about new value.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected