proxygen
folly::pushmi::flow_many_sender< SF, EXF > Class Template Reference

#include <flow_many_sender.h>

Public Types

using properties = property_set< is_sender<>, is_flow<>, is_many<>>
 

Public Member Functions

constexpr flow_many_sender ()=default
 
constexpr flow_many_sender (SF sf)
 
constexpr flow_many_sender (SF sf, EXF exf)
 
auto executor ()
 
requires FlowReceiver< Out > &&Invocable< SF &, Out > void submit (Out out)
 

Private Attributes

SF sf_
 
EXF exf_
 

Detailed Description

template<class SF, class EXF>
class folly::pushmi::flow_many_sender< SF, EXF >

Definition at line 128 of file flow_many_sender.h.

Member Typedef Documentation

template<class SF , class EXF >
using folly::pushmi::flow_many_sender< SF, EXF >::properties = property_set<is_sender<>, is_flow<>, is_many<>>

Definition at line 133 of file flow_many_sender.h.

Constructor & Destructor Documentation

template<class SF , class EXF >
constexpr folly::pushmi::flow_many_sender< SF, EXF >::flow_many_sender ( )
default
template<class SF , class EXF >
constexpr folly::pushmi::flow_many_sender< SF, EXF >::flow_many_sender ( SF  sf)
inlineexplicit

Definition at line 136 of file flow_many_sender.h.

137  : sf_(std::move(sf)) {}
constexpr detail::Map< Move > move
Definition: Base-inl.h:2567
template<class SF , class EXF >
constexpr folly::pushmi::flow_many_sender< SF, EXF >::flow_many_sender ( SF  sf,
EXF  exf 
)
inline

Definition at line 138 of file flow_many_sender.h.

Member Function Documentation

template<class SF , class EXF >
auto folly::pushmi::flow_many_sender< SF, EXF >::executor ( )
inline
template<class SF , class EXF >
requires FlowReceiver<Out>&& Invocable<SF&, Out> void folly::pushmi::flow_many_sender< SF, EXF >::submit ( Out  out)
inline

Definition at line 144 of file flow_many_sender.h.

References folly::gen::move.

144  {
145  sf_(std::move(out));
146  }
constexpr detail::Map< Move > move
Definition: Base-inl.h:2567

Member Data Documentation

template<class SF , class EXF >
EXF folly::pushmi::flow_many_sender< SF, EXF >::exf_
private

Definition at line 130 of file flow_many_sender.h.

template<class SF , class EXF >
SF folly::pushmi::flow_many_sender< SF, EXF >::sf_
private

Definition at line 129 of file flow_many_sender.h.


The documentation for this class was generated from the following file: