#include <rpp/rpp.hpp>
#include <iostream>
int main()
{
std::cout << "Observable factory called\n";
std::cout << "Observable factory called\n";
const auto state = std::make_shared<int>(0);
obs.on_next((*state)++);
obs.on_completed();
});
return inner_obs;
});
}
auto from_iterable(Iterable &&iterable, const TScheduler &scheduler)
Creates observable that emits a items from provided iterable.
Definition from.hpp:175
auto defer(Factory &&observable_factory)
Creates rpp::observable that calls the specified observable factory to create an observable for each ...
Definition defer.hpp:57
auto create(OnSubscribe &&on_subscribe)
Construct observable specialized with passed callback function. Most easiesest way to construct obser...
Definition create.hpp:57
Definition functors.hpp:54