BitShares-Core
7.0.2
BitShares blockchain node software and command-line wallet software
|
#include <future.hpp>
Public Member Functions | |
future (const typename promise< void >::ptr &p) | |
future (typename promise< void >::ptr &&p) | |
future (const future< void > &f) | |
future () | |
future & | operator= (future< void > &&f) |
void | wait (const microseconds &timeout=microseconds::maximum()) |
void | wait_until (const time_point &tp) |
bool | valid () const |
bool | canceled () const |
void | cancel_and_wait (const char *reason FC_CANCELATION_REASON_DEFAULT_ARG) |
bool | ready () const |
bool | error () const |
void | cancel (const char *reason FC_CANCELATION_REASON_DEFAULT_ARG) const |
template<typename CompletionHandler > | |
void | on_complete (CompletionHandler &&c) |
Friends | |
class | thread |
Definition at line 283 of file future.hpp.
|
inline |
Definition at line 285 of file future.hpp.
|
inline |
Definition at line 286 of file future.hpp.
|
inline |
Definition at line 287 of file future.hpp.
|
inline |
Definition at line 288 of file future.hpp.
|
inline |
Definition at line 332 of file future.hpp.
|
inline |
Definition at line 314 of file future.hpp.
|
inline |
Definition at line 312 of file future.hpp.
|
inline |
Definition at line 330 of file future.hpp.
|
inline |
Definition at line 335 of file future.hpp.
|
inline |
Definition at line 290 of file future.hpp.
|
inline |
Definition at line 327 of file future.hpp.
|
inline |
Definition at line 311 of file future.hpp.
|
inline |
timeout |
Definition at line 299 of file future.hpp.
|
inline |
timeout |
Definition at line 307 of file future.hpp.
|
friend |
Definition at line 340 of file future.hpp.