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

Can BlHostEventFetcher be merged into host spaces? #625

Open
tinchodias opened this issue Oct 12, 2024 · 0 comments
Open

Can BlHostEventFetcher be merged into host spaces? #625

tinchodias opened this issue Oct 12, 2024 · 0 comments

Comments

@tinchodias
Copy link
Collaborator

This fetcher consists on an initialize that creates a WaitfreeQueue, and a couple of simple & short methods to add and to retrieve events from it (enqueueEvent: and fetchedEventsDo:).

There are 3 references:

Screenshot 2024-10-11 at 23 37 19

IMHO, BlHostEventFetcher could be good if there was more complex behavior, and if it could be used as collaborator in other use cases. But it looks specific to what some space host needs. Maybe we can add these 3 methods in some trait or common superclass, and this could contribute to better readability of the code of hosts and comprehend what happens.

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