- #35 - Tracing spans were erroneously crossing awaits, disabled until we find a better solution.
- #31 -
handle_ghost_actor_shutdown
is now async - #30 -
ghost_chan!
naming for macro, since it can be used for events too - #27 - clone channel factory pattern example
- #26 - event publish/subscribe pattern example
- #25 - doc filename typo
- #24 - internal sender pattern example and docs
- #23 - batch handler processing / shutdown fix / error cleanup / attach receiver
- #22
The spawn logic has been rewritten into a
GhostActorBuilder
concept that is capable of connecting any number ofGhostEvent
Receivers into astream_multiplexer
and forwarding those events to a single handler within an actor task.
This does away with the explicit "ghost_actor_custom
" and "ghost_actor_interna
l" concepts, but still allows you to accomplish those by simply creating more event types and integrating those into your handler. I.e. for an "internal" sender, simply don't expose that sender in your spawn function.
This also implements issue #21 making the sender functions &self
and thus easier to work with.
- #19 - implement PartialEq, Eq, and Hash for Senders - allowing distinguishing distinct actors from the sender side.
- #18 - Upgrade
must_future
+ remove the Box requirement on the spawn callback. - #17 -
handle_ghost_actor_shutdown
handler function is invoked when the actor loop stops / is stopped. - #16 -
ghost_chan!
generates handler trait + dispatch helper. - #15 - Respond callbacks are structs instead of dyn closures.
- Initial release of
macro_rules!
macro + futures ghost actors.
- Dead-end experiment with proc-macro / non-futures code.