proxygen
|
#include <Base-inl.h>
Classes | |
class | Generator |
Public Member Functions | |
Window (size_t windowSize) | |
template<class Source , class Value , class Gen = Generator<Value, Source>> | |
Gen | compose (GenImpl< Value, Source > &&source) const |
template<class Source , class Value , class Gen = Generator<Value, Source>> | |
Gen | compose (const GenImpl< Value, Source > &source) const |
Public Member Functions inherited from folly::gen::Operator< Window > | |
ResultGen | compose (const GenImpl< Value, Source > &source) const |
Public Member Functions inherited from folly::gen::FBounded< Self > | |
const Self & | self () const |
Self & | self () |
Private Attributes | |
size_t | windowSize_ |
Additional Inherited Members | |
Protected Member Functions inherited from folly::gen::Operator< Window > | |
Operator ()=default | |
Operator (Operator &&) noexcept=default | |
Operator (const Operator &)=default | |
Operator & | operator= (Operator &&) noexcept=default |
Operator & | operator= (const Operator &)=default |
Window - For overlapping the lifetimes of pipeline values, especially with Futures.
This type is usually used through the 'window' helper function:
auto responses = byLine(STDIN) | map(makeRequestFuture) | window(1000) | map(waitFuture) | as<vector>();
Definition at line 1518 of file Base-inl.h.
|
inlineexplicit |
|
inline |
|
inline |
|
private |
Definition at line 1519 of file Base-inl.h.