proxygen
folly::pushmi::operators::bulk_fn Struct Reference

#include <bulk.h>

Public Member Functions

template<class F , class ShapeBegin , class ShapeEnd , class Target , class IF , class RS >
auto operator() (F &&func, ShapeBegin sb, ShapeEnd se, Target &&driver, IF &&initFunc, RS &&selector) const
 

Detailed Description

Definition at line 25 of file bulk.h.

Member Function Documentation

template<class F , class ShapeBegin , class ShapeEnd , class Target , class IF , class RS >
auto folly::pushmi::operators::bulk_fn::operator() ( F &&  func,
ShapeBegin  sb,
ShapeEnd  se,
Target &&  driver,
IF &&  initFunc,
RS &&  selector 
) const
inline

Definition at line 33 of file bulk.h.

References folly::pushmi::operators::bulk, folly::pushmi::make_receiver, folly::pushmi::make_single_sender, folly::gen::move, and folly::pushmi::operators::submit.

39  {
40  return [func, sb, se, driver, initFunc, selector](auto in) {
41  return make_single_sender(
42  [in, func, sb, se, driver, initFunc, selector](auto out) mutable {
43  submit(
44  in,
46  std::move(out),
47  [func, sb, se, driver, initFunc, selector](
48  auto& out, auto input) {
49  driver(
50  initFunc,
51  selector,
52  std::move(input),
53  func,
54  sb,
55  se,
56  std::move(out));
57  }));
58  });
59  };
60  }
PUSHMI_INLINE_VAR constexpr detail::submit_fn submit
Definition: submit.h:386
constexpr detail::Map< Move > move
Definition: Base-inl.h:2567
PUSHMI_INLINE_VAR constexpr struct folly::pushmi::make_receiver_fn make_receiver
PUSHMI_INLINE_VAR constexpr struct folly::pushmi::make_single_sender_fn make_single_sender

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