|
A11 (C++ runtime)
Native C++ implementation of the A11 streaming action runtime
|
Classes | |
| class | UvExecutor |
Functions | |
| absl::Status | UvError (int code, std::string_view operation) |
| The status a failed libuv call deserves. | |
| template<typename T > | |
| absl::StatusOr< T > | RunOnUv (std::function< absl::StatusOr< T >()> operation, const void *order_key=nullptr) |
Run operation on the loop thread and wait for its result. | |
| absl::Status | RunStatusOnUv (std::function< absl::Status()> operation, const void *order_key=nullptr) |
| absl::StatusOr< T > a11::uv::RunOnUv | ( | std::function< absl::StatusOr< T >()> | operation, |
| const void * | order_key = nullptr |
||
| ) |
Run operation on the loop thread and wait for its result.
| operation | Work to execute on the loop thread. |
| order_key | See UvExecutor::Post. Pass the connection whenever the operation touches one, preserving its order with socket writes. HttpTransport::RunOnUvForConnection supplies it automatically. |
|
inline |
|
inline |
The status a failed libuv call deserves.