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

#include <many_sender.h>

Public Types

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

Public Member Functions

constexpr many_sender ()=default
 
constexpr many_sender (SF sf)
 
constexpr many_sender (SF sf, EXF exf)
 
auto executor ()
 
requires PUSHMI_EXP (lazy::Receiver< Out > PUSHMI_AND lazy::Invocable< SF &, Out >)) void submit(Out out)
 

Private Attributes

SF sf_
 
EXF exf_
 

Detailed Description

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

Definition at line 133 of file many_sender.h.

Member Typedef Documentation

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

Definition at line 138 of file many_sender.h.

Constructor & Destructor Documentation

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

Definition at line 141 of file many_sender.h.

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

Definition at line 142 of file many_sender.h.

Member Function Documentation

template<class SF , class EXF >
auto folly::pushmi::many_sender< SF, EXF >::executor ( )
inline

Definition at line 145 of file many_sender.h.

References folly::pushmi::PUSHMI_TEMPLATE().

145  {
146  return exf_();
147  }
template<class SF , class EXF >
requires folly::pushmi::many_sender< SF, EXF >::PUSHMI_EXP ( lazy::Receiver< Out > PUSHMI_AND lazy::Invocable< SF &, Out >  )
inline

Definition at line 149 of file many_sender.h.

References folly::gen::move.

151  {
152  sf_(std::move(out));
153  }
constexpr detail::Map< Move > move
Definition: Base-inl.h:2567

Member Data Documentation

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

Definition at line 135 of file many_sender.h.

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

Definition at line 134 of file many_sender.h.


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