10 template<
typename type_t>
179 virtual void on_error(
const std::exception& error) noexcept = 0;
190 virtual void on_next(
const type_t& value) noexcept = 0;
Provides a mechanism for receiving push-based notifications.
Definition: iobserver.h:154
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
Definition: system_report.h:17
virtual void on_next(const type_t &value) noexcept=0
Provides the observer with new data.
Contains xtd::interface interface.
#define interface_
This keyword is use to represent an interface.
Definition: interface.h:54
virtual void on_error(const std::exception &error) noexcept=0
Notifies the observer that the provider has experienced an error condition.
virtual void on_completed() noexcept=0
Notifies the observer that the provider has finished sending push-based notifications.