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

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. More...

#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

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:

Template Parameters
Coordinationthe type of the scheduler (optional).
Value0... (optional).
ValueNtypes of source observables (optional).
Parameters
cnthe scheduler to synchronize sources from different contexts (optional).
v0... (optional).
vnsource 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