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++.
Macros
rx-coroutine.hpp File Reference

The proposal to add couroutines to the standard adds co_await, for co_await, co_yield and co_return. This file adds begin(observable<>) & end(observable<>) which enables for co_await to work with the observable<> type. More...

#include "rx-includes.hpp"
Include dependency graph for rx-coroutine.hpp:

Go to the source code of this file.

Macros

#define RXCPP_RX_COROUTINE_HPP
 

Detailed Description

The proposal to add couroutines to the standard adds co_await, for co_await, co_yield and co_return. This file adds begin(observable<>) & end(observable<>) which enables for co_await to work with the observable<> type.

for co_await (auto c : interval(seconds(1), observe_on_event_loop()) | take(3)) { printf("%d\n", c); }

Macro Definition Documentation

#define RXCPP_RX_COROUTINE_HPP