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

Team notifications with the power of RX #442

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

Danthar
Copy link

@Danthar Danthar commented Jul 24, 2020

As promised on-stream. Here is an example of how you could do this with RX.
There are many operators and stuff available. For example if you have multiple things that need to be done when a teammate notification is made available. you can easily create multiple subscriptions that each do their own thing.

There are more then one way to creating an observable. I used a Subject here, because its the easiest to use in this scenario.

By the power of observers i compel thee
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

Successfully merging this pull request may close these issues.

None yet

1 participant