• Home
  • Raw
  • Download

Lines Matching refs:OnError

71 template<class State, class OnError>
75 using onerror_t = rxu::decay_t<OnError>;
178 template<class T, class State, class OnNext, class OnError, class OnCompleted>
182 using this_type = observer<T, State, OnNext, OnError, OnCompleted>;
189 !std::is_same<void, OnError>::value,
190 rxu::decay_t<OnError>,
191 detail::OnErrorForward<State, OnError>>::type;
269 template<class T, class OnNext, class OnError, class OnCompleted>
270 class observer<T, detail::stateless_observer_tag, OnNext, OnError, OnCompleted> : public observer_b…
273 using this_type = observer<T, detail::stateless_observer_tag, OnNext, OnError, OnCompleted>;
279 !std::is_same<void, OnError>::value,
280 rxu::decay_t<OnError>,
464 …nError = detail::OnErrorEmpty, class U, class State, class OnNext, class OnError, class OnComplete…
465 auto make_observer(observer<U, State, OnNext, OnError, OnCompleted> o) in make_observer() argument
466 -> observer<T, State, OnNext, OnError, OnCompleted> { in make_observer()
467 return observer<T, State, OnNext, OnError, OnCompleted>(std::move(o)); in make_observer()
495 template<class T, class DefaultOnError = detail::OnErrorEmpty, class OnError>
496 auto make_observer(OnError oe) in make_observer()
498 !detail::is_on_next_of<T, OnError>::value && in make_observer()
499 detail::is_on_error<OnError>::value, in make_observer()
500 observer<T, detail::stateless_observer_tag, detail::OnNextEmpty<T>, OnError>>::type { in make_observer()
501 return observer<T, detail::stateless_observer_tag, detail::OnNextEmpty<T>, OnError>( in make_observer()
504 template<class T, class DefaultOnError = detail::OnErrorEmpty, class OnNext, class OnError>
505 auto make_observer(OnNext on, OnError oe) in make_observer()
508 detail::is_on_error<OnError>::value, in make_observer()
509 observer<T, detail::stateless_observer_tag, OnNext, OnError>>::type { in make_observer()
510 return observer<T, detail::stateless_observer_tag, OnNext, OnError>( in make_observer()
522 template<class T, class DefaultOnError = detail::OnErrorEmpty, class OnNext, class OnError, class O…
523 auto make_observer(OnNext on, OnError oe, OnCompleted oc) in make_observer()
526 detail::is_on_error<OnError>::value && in make_observer()
528 observer<T, detail::stateless_observer_tag, OnNext, OnError, OnCompleted>>::type { in make_observer()
529 return observer<T, detail::stateless_observer_tag, OnNext, OnError, OnCompleted>( in make_observer()
543 template<class T, class State, class OnError>
544 auto make_observer(State os, OnError oe) in make_observer()
548 detail::is_on_error_for<State, OnError>::value, in make_observer()
549 observer<T, State, detail::OnNextEmpty<T>, OnError>>::type { in make_observer()
550 return observer<T, State, detail::OnNextEmpty<T>, OnError>( in make_observer()
553 template<class T, class State, class OnNext, class OnError>
554 auto make_observer(State os, OnNext on, OnError oe) in make_observer()
558 detail::is_on_error_for<State, OnError>::value, in make_observer()
559 observer<T, State, OnNext, OnError>>::type { in make_observer()
560 return observer<T, State, OnNext, OnError>( in make_observer()
572 template<class T, class State, class OnNext, class OnError, class OnCompleted>
573 auto make_observer(State os, OnNext on, OnError oe, OnCompleted oc) in make_observer()
577 detail::is_on_error_for<State, OnError>::value, in make_observer()
578 observer<T, State, OnNext, OnError, OnCompleted>>::type { in make_observer()
579 return observer<T, State, OnNext, OnError, OnCompleted>( in make_observer()
598 template<class T, class OnNext, class OnError>
599 auto make_observer_dynamic(OnNext&& on, OnError&& oe) in make_observer_dynamic()
602 detail::is_on_error<OnError>::value, in make_observer_dynamic()
605 make_observer<T>(std::forward<OnNext>(on), std::forward<OnError>(oe))); in make_observer_dynamic()
616 template<class T, class OnNext, class OnError, class OnCompleted>
617 auto make_observer_dynamic(OnNext&& on, OnError&& oe, OnCompleted&& oc) in make_observer_dynamic()
620 detail::is_on_error<OnError>::value && in make_observer_dynamic()
624 …make_observer<T>(std::forward<OnNext>(on), std::forward<OnError>(oe), std::forward<OnCompleted>(oc… in make_observer_dynamic()
639 template<class F, class OnError>
640 auto on_exception(const F& f, const OnError& c) in on_exception()
641 …-> typename std::enable_if<detail::is_on_error<OnError>::value, typename detail::maybe_from_resul… in on_exception()