#include <userver/engine/io/common.hpp>
Base class for readable stream waiting
Definition at line 31 of file common.hpp.
Public Member Functions | |
| virtual bool | WaitReadable (Deadline)=0 |
| Suspends current task until the stream has data available. | |
| AwaitableToken | GetAwaitableToken () |
| Satisfies engine::Awaitable, for use with engine::WaitAnyContext and friends. | |
Protected Member Functions | |
| void | SetReadableAwaitableToken (AwaitableToken token) |
|
inline |
Satisfies engine::Awaitable, for use with engine::WaitAnyContext and friends.
Definition at line 39 of file common.hpp.
|
inlineprotected |
Definition at line 44 of file common.hpp.
|
nodiscardpure virtual |
Suspends current task until the stream has data available.
Implemented in engine::io::PipeReader, engine::io::Socket, and engine::io::TlsWrapper.