RxCpp
The Reactive Extensions for Native (RxCpp) is a library for composing asynchronous and event-based programs using observable sequences and LINQ-style query operators in both C and C++.
Classes | Namespaces | Macros | Functions
rx-merge_delay_error.hpp File Reference
#include "rx-merge.hpp"
#include "../rx-composite_exception.hpp"
Include dependency graph for rx-merge_delay_error.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  rxcpp::member_overload< merge_delay_error_tag >
 

Namespaces

 rxcpp
 
 rxcpp::operators
 

Macros

#define RXCPP_OPERATORS_RX_MERGE_DELAY_ERROR_HPP
 

Functions

template<class... AN>
auto rxcpp::operators::merge_delay_error (AN &&... an) -> operator_factory< merge_delay_error_tag, AN... >
 

Detailed Description

\brief For each given observable subscribe.
           For each item emitted from all of the given observables, deliver from the new observable that is returned.
           The first error to occure is hold off until all of the given non-error-emitting observables have finished their emission.

           There are 2 variants of the operator:
           - The source observable emits nested observables, nested observables are merged.
           - The source observable and the arguments v0...vn are used to provide the observables to merge.

\tparam Coordination  the type of the scheduler (optional).
\tparam Value0  ... (optional).
\tparam ValueN  types of source observables (optional).

\param  cn      the scheduler to synchronize sources from different contexts (optional).
\param  v0      ... (optional).
\param  vn      source observables (optional).

\return                                                                                                              Observable that emits items that are the result of flattening the observables emitted by the source observable.

If scheduler is omitted, identity_current_thread is used.

@par Sample Code\n
\snippet merge_delay_error.cpp threaded implicit merge sample
\snippet output.txt threaded implicit merge sample

@par Sample Code\n
\snippet merge_delay_error.cpp implicit merge sample
\snippet output.txt implicit merge sample

@par Sample Code\n
\snippet merge_delay_error.cpp merge sample
\snippet output.txt merge sample

@par Sample Code\n
\snippet merge_delay_error.cpp threaded merge sample
\snippet output.txt threaded merge sample

Macro Definition Documentation

◆ RXCPP_OPERATORS_RX_MERGE_DELAY_ERROR_HPP

#define RXCPP_OPERATORS_RX_MERGE_DELAY_ERROR_HPP