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

refactor: split message sending from creation #5

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

technobaboo
Copy link
Contributor

I know this is a bit controversial, but I have had issues where I need to make messages without an easy mutable reference to client and then pass them into the runtime's loop via an mpsc to send it at the client struct's earliest convenience.

This is 1 potential solution to the problem, and honestly I don't believe it's very inconvenient at all. It provides modularity and ease of use after all...

@technobaboo technobaboo force-pushed the refactor/messages branch 2 times, most recently from 046e492 to 1c2f5f7 Compare February 25, 2025 09:01
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.

1 participant