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

feat: support routing messages as custom events #7

Merged
merged 1 commit into from Dec 18, 2023
Merged

Conversation

leostera
Copy link
Owner

@leostera leostera commented Dec 17, 2023

Lets you send messages to the application process and receive them as custom events. This is needed to get data into the TUI from other parts of the system that weren't started from within the TUI.

Some use-cases:

  • If the TUI needs to send itself custom events it can do that directly with send (self ()) The_message or through timers with Timer.send_after/send_interval
  • If the TUI is just one more Riot App, then other Riot apps can talk to it.

@leostera leostera merged commit ff19fe0 into main Dec 18, 2023
@leostera leostera deleted the custom-events branch December 18, 2023 23:17
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