|
A11 (C++ runtime)
Native C++ implementation of the A11 streaming action runtime
|
#include <cpp/a11/wasm/async_task.h>
Public Types | |
| using | Work = std::function< absl::StatusOr< std::string >()> |
Public Member Functions | |
| ~AsyncTask () | |
| void | Launch () |
| Result * | Take () |
| void | Cancel () |
Static Public Member Functions | |
| static std::shared_ptr< AsyncTask > | Start (Work work) |
| using a11::wasm::AsyncTask::Work = std::function<absl::StatusOr<std::string>()> |
| a11::wasm::AsyncTask::~AsyncTask | ( | ) |
| void a11::wasm::AsyncTask::Cancel | ( | ) |
| void a11::wasm::AsyncTask::Launch | ( | ) |
| Result * a11::wasm::AsyncTask::Take | ( | ) |