libcoro  1.0
Coroutine support library for C++20

◆ pop() [1/2]

template<typename T , typename QueueImpl = std::queue<T>>
future<T> coro::queue< T, QueueImpl >::pop ( )
inline

Pop the items.

Returns
return Future wich is eventually resolved with an item.
Note
The promise can be broken by calling the function close()

Definition at line 95 of file queue.h.

+ Here is the caller graph for this function: