NK
Size: a a a
NK
K
NK
NK
K
NK
K
K
NK
K
NK
NK
NK
sender auto s = just(3) | // produce '3' immediately
via(scheduler1) | // transition context
then([](int a){return a+1;}) | // chain continuation
then([](int a){return a*2;}) | // chain another continuation
via(scheduler2) | // transition context
handle_error([](auto e){return just(3);}); // with default value on errors
int r = sync_wait(s)
K
|
выглядит по уродскиNK
*this
NK
K
ПК
std::async
K
ПК
.