#include <cpp/a11/uv/loop.h>
|
| absl::Status | Post (std::function< void()> work, const void *order_key=nullptr) |
| | Queue work for the loop thread.
|
| |
| std::shared_ptr< uvw::loop > | loop () const |
| |
| bool | IsLoopThread () const |
| |
◆ Instance()
| static UvExecutor & a11::uv::UvExecutor::Instance |
( |
| ) |
|
|
inlinestatic |
◆ IsLoopThread()
| bool a11::uv::UvExecutor::IsLoopThread |
( |
| ) |
const |
|
inline |
◆ loop()
| std::shared_ptr< uvw::loop > a11::uv::UvExecutor::loop |
( |
| ) |
const |
|
inline |
◆ Post()
| absl::Status a11::uv::UvExecutor::Post |
( |
std::function< void()> |
work, |
|
|
const void * |
order_key = nullptr |
|
) |
| |
|
inline |
Queue work for the loop thread.
- Parameters
-
| work | What to run on the loop. |
| order_key | Ordering group for the work. Pass the connection for operations on one socket so headers, data, and completion remain ordered. Leave it null when no per-connection ordering is required. |
The documentation for this class was generated from the following file: