|
| | Future () |
| |
| | Future (Future &&rhs) noexcept |
| |
| Future & | operator= (Future &&rhs) |
| |
| SharedFuture< R > | share () |
| | Share the future between multiple future objects. This future is rendered invalid. More...
|
| |
| R | get () |
| | Get the future result, waiting if necessary. Throws any exception stored in the result. More...
|
| |
| State & | __state () const |
| | Get the shared state. More...
|
| |
| template<> |
| void | get () |
| |
| bool | valid () const |
| | Check if this instance has state and can be used. State can be transferred out to another instance through move-assignment. More...
|
| |
| bool | ready () const |
| | Check if result is ready. More...
|
| |
| void | wait () const |
| | Wait until result is ready. More...
|
| |
| template<class Rep , class Period > |
| future::Status | wait (Duration< Rep, Period > time) const |
| | Wait until result is ready or until an amount of time has passed. More...
|
| |
| template<class Clock , class Dur > |
| future::Status | wait (TimePoint< Clock, Dur > time) const |
| | Wait until result is ready or until a certain time. More...
|
| |
| StateBase & | __stateBase () const |
| | Get the shared state. More...
|
| |
| Future< typename std::result_of< Func(Future< R >)>::type > | then (Sched &&sched, Func &&f) |
| | Append a continuation function that will be called when this future is ready. The ready future is passed in (no wait on future.get()). More...
|
| |
| Future< typename std::result_of< Func(Future< R >)>::type > | then (Func &&f) |
| |
| Future< R2 > | unwrap () |
| | For wrapped futures Future<Future<R>>, returns a proxy Future<R> that will be ready when the inner future is ready. More...
|
| |
template<class R>
class honey::Future< R >
Unique future, guarantees sole access to a future function result.