asio-grpc v1.6.0
Asynchronous gRPC with Asio/unified executors
|
Function object to create sender completion tokens. More...
#include <agrpc/useSender.hpp>
Public Member Functions | |
template<class Allocator , std::uint32_t Options> | |
constexpr auto | operator() (const agrpc::BasicGrpcExecutor< Allocator, Options > &executor) const noexcept |
Overload for BasicGrpcExecutor. | |
constexpr auto | operator() (agrpc::GrpcContext &context) const noexcept |
Overload for GrpcContext. | |
Function object to create sender completion tokens.
The completion token created by this function causes other asynchronous functions in this library to return a Sender. This is particularly useful for libunifex where senders are also awaitable: