* @brief Observable calls this method to notify observer about new value. * * @note obtains value by const-reference to original object. */
| 82 | * @note obtains value by const-reference to original object. |
| 83 | */ |
| 84 | void on_next(const Type& v) const noexcept |
| 85 | { |
| 86 | try |
| 87 | { |
| 88 | if (!is_disposed()) |
| 89 | m_strategy.on_next(v); |
| 90 | } |
| 91 | catch (...) |
| 92 | { |
| 93 | on_error(std::current_exception()); |
| 94 | } |
| 95 | } |
| 96 | |
| 97 | /** |
| 98 | * @brief Observable calls this method to notify observer about new value. |
nothing calls this directly
no outgoing calls
no test coverage detected