Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Event - Create QueuedSubscriber #148

Open
MakoEnergy opened this issue May 14, 2017 · 0 comments
Open

Event - Create QueuedSubscriber #148

MakoEnergy opened this issue May 14, 2017 · 0 comments

Comments

@MakoEnergy
Copy link
Member

Currently there is an EventSubscriber class that doesn't really do anything in the Event system. It is intended to be the base class for some prefab subscribers to be provided for convenience.

One of the more important prefabs is a subscriber that will queue dispatched Events for delayed processing. That way it can be used across subsystems and be handled during that respective systems workunit. Expecting immediate processing always can and will lead to race conditions.

A possible candidate for inclusion in the Mezzanine:
https://github.com/cameron314/concurrentqueue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant