◆ ChannelAwaiter_()
BoundedQueue< T > & queue_
Definition channel.h:173
BoundedQueue< std::coroutine_handle<> > & waiters_
Definition channel.h:174
◆ ~ChannelAwaiter_()
147 {
148
150
153 }
154 });
155 }
std::coroutine_handle thisCoro_
Definition channel.h:175
◆ await_ready()
◆ await_resume()
170{
return !
queue_.empty(); }
◆ await_suspend()
template<typename T>
| bool uvco::Channel< T >::ChannelAwaiter_::await_suspend |
( |
std::coroutine_handle<> | handle | ) |
|
|
inline |
159 {
163 "too many coroutines waiting for reading/writing a channel");
164 }
167 return true;
168 }
◆ queue_
◆ thisCoro_
template<typename T>
| std::coroutine_handle uvco::Channel< T >::ChannelAwaiter_::thisCoro_ |
◆ waiters_
The documentation for this struct was generated from the following file: