proxygen
folly::pushmi::detail::sender_from_fn Struct Reference

#include <extension_operators.h>

Public Member Functions

requires Sender< In > auto operator() (In in, FN &&...fn) const
 

Detailed Description

Definition at line 211 of file extension_operators.h.

Member Function Documentation

requires Sender<In> auto folly::pushmi::detail::sender_from_fn::operator() ( In  in,
FN &&...  fn 
) const
inline

Definition at line 214 of file extension_operators.h.

References folly::gen::move, and folly::pushmi::detail::sender_from.

214  {
215  using MakeSender = make_sender<
216  property_set_index_t<properties_t<In>, is_single<>>,
217  property_query_v<properties_t<In>, is_constrained<>>,
218  property_query_v<properties_t<In>, is_time<>>,
219  property_query_v<properties_t<In>, is_flow<>>>;
220  return MakeSender{}(std::move(in), (FN &&) fn...);
221  }
constexpr detail::Map< Move > move
Definition: Base-inl.h:2567

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