proxygen
|
#include <subject.h>
Public Types | |
using | receiver_t = any_receiver< std::exception_ptr, TN... > |
Public Member Functions | |
requires Receiver< Out > void | submit (Out out) |
requires And< SemiMovable< VN >... > void | value (VN &&...vn) |
requires SemiMovable< E > void | error (E e) noexcept |
void | done () |
Public Attributes | |
bool | done_ = false |
::folly::pushmi::detail::opt< std::tuple< std::decay_t< TN >... > > | t_ |
std::exception_ptr | ep_ |
std::vector< receiver_t > | receivers_ |
std::mutex | lock_ |
using folly::pushmi::subject< PS, TN... >::subject_shared::receiver_t = any_receiver<std::exception_ptr, TN...> |
|
inline |
Definition at line 86 of file subject.h.
References folly::gen::guard(), and folly::pushmi::set_done.
|
inlinenoexcept |
Definition at line 78 of file subject.h.
References folly::gen::guard(), folly::gen::move, and folly::pushmi::set_error.
|
inline |
Definition at line 44 of file subject.h.
References folly::apply(), folly::gen::guard(), folly::gen::move, folly::pushmi::PUSHMI_TEMPLATE(), folly::pushmi::requires(), folly::pushmi::set_done, folly::pushmi::set_error, and folly::pushmi::set_value.
|
inline |
Definition at line 65 of file subject.h.
References folly::apply(), folly::pushmi::detail::as_const, folly::gen::guard(), std::tr1::make_tuple(), folly::pushmi::PUSHMI_TEMPLATE(), folly::pushmi::requires(), and folly::pushmi::set_value.
bool folly::pushmi::subject< PS, TN... >::subject_shared::done_ = false |
std::exception_ptr folly::pushmi::subject< PS, TN... >::subject_shared::ep_ |
std::mutex folly::pushmi::subject< PS, TN... >::subject_shared::lock_ |
std::vector<receiver_t> folly::pushmi::subject< PS, TN... >::subject_shared::receivers_ |
::folly::pushmi::detail::opt<std::tuple<std::decay_t<TN>...> > folly::pushmi::subject< PS, TN... >::subject_shared::t_ |