libcoro  1.0
Coroutine support library for C++20

◆ start()

template<typename T >
prepared_coro coro::future< T >::start ( )
inline

Start deferred execution.

If the future is in deferred state, it initiates deferred evaluation. When function returns, the future will be in progress. If the future is not in deferred state, the function does nothing

Returns
prepared coroutine, if there is any. You can schedule resumption. Note that future cannot be finished until return value is destroyed

Definition at line 591 of file future.h.