Awaiter that reactivates AsyncSocketReceive until the whole caller buffer is filled. More...
#include <Await.h>
Public Member Functions | |
| AwaitSocketReceiveExactAwaiter (AwaitEventLoop &await, const SocketDescriptor &socket, Span< char > buffer, AwaitSocketReceiveResult *outResult) | |
| bool | await_ready () const |
| bool | await_suspend (AwaitTask::Handle continuation) |
| Result | await_resume () |
Public Attributes | |
| AwaitEventLoop & | await |
| const SocketDescriptor & | socket |
| Span< char > | buffer |
| AwaitSocketReceiveResult * | outResult = nullptr |
| AsyncSocketReceive | request |
| Result | operationResult = Result(true) |
| size_t | numBytesReceived = 0 |
Awaiter that reactivates AsyncSocketReceive until the whole caller buffer is filled.