|
Aria 2.0.0
C++23 MVVM framework (C++20 minimum) — reactive, coroutine-first, ABI-layered
|
#include "aria/abi/slot.hpp"#include <atomic>#include <exception>#include <memory>#include <type_traits>#include <utility>Go to the source code of this file.
Namespaces | |
| namespace | aria |
| namespace | aria::abi |
Typedefs | |
| using | aria::abi::SlotInvokeFailureHook = void (*)(std::exception_ptr) |
| Hook invoked when the slot trampoline catches an exception escaping the user callable. | |
Functions | |
| SlotInvokeFailureHook | aria::abi::set_slot_invoke_failure_hook (SlotInvokeFailureHook hook) noexcept |
| Install (or replace) the slot-invoke failure hook. | |
| template<class Fn> | |
| SlotErased | aria::abi::make_slot_erased (Fn &&fn) |
| Build a SlotErased from a callable that takes a raw void* args. | |
| template<class Bag, class Fn> | |
| SlotErased | aria::abi::make_slot_for (Fn &&fn) |
| Build a SlotErased from a callable that takes const Bag&. | |