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

Async Observer pattern possible future issues #30

Open
JayArrowz opened this issue Jun 11, 2021 · 0 comments
Open

Async Observer pattern possible future issues #30

JayArrowz opened this issue Jun 11, 2021 · 0 comments
Labels
bug Something isn't working help wanted Extra attention is needed question Further information is requested

Comments

@JayArrowz
Copy link
Owner

JayArrowz commented Jun 11, 2021

The Message handlers currently support async functions:

.e.g.

public async Task OnWelcomeScreenClick(DecoderMessage<ClickButtonMessage> decoderMessage)

However if anything modifies the world state in a async manner and is not thread safe it could cause issues.

Anything executed in the message handlers has to be thread safe.

@JayArrowz JayArrowz added bug Something isn't working help wanted Extra attention is needed question Further information is requested labels Jun 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant