Expand description
Proc macros for the batpak event-sourcing runtime.
This crate is pulled in transitively via batpak. Users never add it
to their own Cargo.toml — the derives are already in scope via
use batpak::EventPayload; or use batpak::EventSourced;.
Derive Macros§
- Event
Payload - Derives
batpak::event::EventPayloadfor a named-field struct. - Event
Sourced - Derives
batpak::event::EventSourcedfor a named-field struct. - Multi
Event Reactor - Derives
batpak::event::MultiReactive<Input>for a named-field struct, for use withStore::react_loop_multi(JSON) orStore::react_loop_multi_raw(msgpack).