proxygen
folly::pushmi::operators::defer_fn::impl< F > Struct Template Reference

Public Member Functions

requires Receiver< Out > void operator() (Data &, Out out)
 

Public Attributes

f_
 

Detailed Description

template<class F>
struct folly::pushmi::operators::defer_fn::impl< F >

Definition at line 31 of file defer.h.

Member Function Documentation

template<class F >
requires Receiver<Out> void folly::pushmi::operators::defer_fn::impl< F >::operator() ( Data ,
Out  out 
)
inline

Definition at line 35 of file defer.h.

References folly::pushmi::operators::defer_fn::impl< F >::f_, folly::gen::move, folly::pushmi::PUSHMI_TEMPLATE(), folly::pushmi::requires(), and folly::pushmi::operators::submit.

35  {
36  auto sender = f_();
37  submit(sender, std::move(out));
38  }
PUSHMI_INLINE_VAR constexpr detail::submit_fn submit
Definition: submit.h:386
constexpr detail::Map< Move > move
Definition: Base-inl.h:2567

Member Data Documentation

template<class F >
F folly::pushmi::operators::defer_fn::impl< F >::f_

Definition at line 32 of file defer.h.

Referenced by folly::pushmi::operators::defer_fn::impl< F >::operator()().


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