generated from The-Microservice-Dungeon/generic-player
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Currently we consume all events instantly, maybe delay them to try to get the order right. This is ugly and hacky.
Possible Solution:
- Reveive an event
- Check if it belongs to us
- Save it in a repo
- Build the dependency tree for this event (i.e. "neighbours" needs "trading" or "movement"; "bank_created" needs "player_status" after registration.)
- Somehow tell the System Services when all Dependencies for one Event were consumed
- Then start executing the actions caused by the events
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels