|
ReactivePlusPlus
ReactiveX implementation for C++20
|
Operators that help to recover from error notifications from an Observable. More...
Functions | |
| template<typename Selector> requires rpp::constraint::observable<std::invoke_result_t<Selector, std::exception_ptr>> | |
| auto | rpp::operators::on_error_resume_next (Selector &&selector) |
| If an error occurs, take the result from the Selector and subscribe to that instead. | |
| auto | rpp::operators::retry (size_t count) |
| The retry operator attempts to resubscribe to the observable when an error occurs, up to the specified number of retries. | |
| auto | rpp::operators::retry () |
| The infinite retry operator continuously attempts to resubscribe to the observable upon error, without a retry limit. | |
Operators that help to recover from error notifications from an Observable.
| auto rpp::operators::on_error_resume_next | ( | Selector && | selector | ) |
If an error occurs, take the result from the Selector and subscribe to that instead.
| selector | callable taking a std::exception_ptr and returning observable to continue on |
|
inline |
The infinite retry operator continuously attempts to resubscribe to the observable upon error, without a retry limit.
|
inline |
The retry operator attempts to resubscribe to the observable when an error occurs, up to the specified number of retries.
| count | is the number of retries |