-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Split the EventListener struct into a sub-listener structure
First part of EventListener reworks. The idea here is that, in the future, we can add an "EventListenerRef" structure that just takes an "&'a Inner" rather than an "Arc<Inner>". This way, you don't need to do an atomic clone for listening.
- Loading branch information
Showing
1 changed file
with
119 additions
and
89 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters