proxygen
folly::FutureDAG::Node Struct Reference

Public Member Functions

 Node (FutureFunc &&funcArg, Executor *executorArg)
 

Public Attributes

FutureFunc func {nullptr}
 
Executorexecutor {nullptr}
 
SharedPromise< Unitpromise
 
std::vector< Handledependencies
 
bool hasDependents {false}
 
bool visited {false}
 

Detailed Description

Definition at line 188 of file FutureDAG.h.

Constructor & Destructor Documentation

folly::FutureDAG::Node::Node ( FutureFunc &&  funcArg,
Executor executorArg 
)
inline

Definition at line 189 of file FutureDAG.h.

190  : func(std::move(funcArg)), executor(executorArg) {}
constexpr detail::Map< Move > move
Definition: Base-inl.h:2567

Member Data Documentation

std::vector<Handle> folly::FutureDAG::Node::dependencies

Definition at line 195 of file FutureDAG.h.

Executor* folly::FutureDAG::Node::executor {nullptr}

Definition at line 193 of file FutureDAG.h.

FutureFunc folly::FutureDAG::Node::func {nullptr}

Definition at line 192 of file FutureDAG.h.

bool folly::FutureDAG::Node::hasDependents {false}

Definition at line 196 of file FutureDAG.h.

SharedPromise<Unit> folly::FutureDAG::Node::promise

Definition at line 194 of file FutureDAG.h.

bool folly::FutureDAG::Node::visited {false}

Definition at line 197 of file FutureDAG.h.


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