virtual std::future_status waitForAt(int num, std::chrono::milliseconds timeMs) const =0
Waits for the future in the 'num-th' continuation context to be ready for a maximum of 'timeMs' milli...
std::shared_ptr< IContextBase > Ptr
Definition: quantum_icontext_base.h:35
virtual void waitAll() const =0
Wait for all the futures in the continuation chain to be ready.
virtual void wait() const =0
Waits for the future associated with this context to be ready.
Exposes methods to manipulate the thread context, especially future wait methods.
Definition: quantum_ithread_context_base.h:34
virtual std::future_status waitFor(std::chrono::milliseconds timeMs) const =0
Waits for the future associated with this context to be ready for a maximum of 'timeMs' milliseconds.
This interface exposes shared functionality between IThreadContext and ICoroContext.
Definition: quantum_icontext_base.h:33
virtual void waitAt(int num) const =0
Waits for the future in the 'num-th' continuation context to be ready.
std::shared_ptr< IThreadContextBase > Ptr
Definition: quantum_ithread_context_base.h:36