asio-grpc v3.3.0
Asynchronous gRPC with Asio/unified executors
|
Sender completion token. More...
#include <agrpc/use_sender.hpp>
Public Types | |
template<class T > | |
using | as_default_on_t |
Type alias to adapt an I/O object to use agrpc::UseSender as its default completion token type. | |
Sender completion token.
This completion token causes functions in this library to return a sender. Particularly useful for libunifex where senders are also awaitable:
Note when using libunifex or stdexec exclusively then agrpc::use_sender
is already the default completion token.
using agrpc::UseSender::as_default_on_t |
Type alias to adapt an I/O object to use agrpc::UseSender
as its default completion token type.
Only applicable to I/O objects of this library.