cpp-msgpack-rpc 0.2.0
An RPC library implementing MessagePack RPC.
Loading...
Searching...
No Matches
async_invoke.h File Reference

Definition of async_invoke function. More...

#include <memory>
#include <utility>
#include <asio/io_context.hpp>
#include <asio/post.hpp>
#include "msgpack_rpc/executors/i_executor.h"
#include "msgpack_rpc/executors/operation_type.h"
Include dependency graph for async_invoke.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  msgpack_rpc
 Namespace of cpp-msgpack-rpc library.
namespace  msgpack_rpc::executors
 Namespace of executors to process asynchronous tasks.

Functions

template<typename Function>
void msgpack_rpc::executors::async_invoke (const std::shared_ptr< IExecutor > &executor, OperationType type, Function &&function)
 Asynchronously invoke a function.

Detailed Description

Definition of async_invoke function.

Definition in file async_invoke.h.