issues
search
pantomime-rs
/
pantomime
MIT License
5
stars
1
forks
source link
Overhaul deliveries, simplifying implementation and adding test
#45
Closed
longshorej
closed
5 years ago
longshorej
commented
5 years ago
Mailbox no longer needs to be concerned with cancellable messages
A delivery is stored locally in the actor's context
A system message is scheduled indicating a delivery (with a name and id) should be delivered.
When received, if the local id for that given name matches the id, i.e. it hasn't been superceded, the local msg is delivered