C++ 17
library with asynchronous primitives (prototype state).
::ap::event::Dispatcher<::std::string_view> dispatcher_;
dispatcher_.subscribe([&] (auto const &event) {
application_.log << event;
});
application_.on_ready([dispatcher_ = ::std::move(dispatcher_)] {
dispatcher_.dispatch("Hello, world!");
});
- Event dispatcher & Event source:
yet anothersignal/slot
implementation
with Shared Subscripton ("weak"|"strong") entity asConnection
- Promise & Future: not implemented yet
- Coroutines adapters: not implemented yet
Check out examples directory.
This is unstable prototype and any things (commit history, api, abi, etc) may be changed.