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

Yamux: Remove trySend AsyncSpawn #1134

Open
lchenut opened this issue Jun 21, 2024 · 0 comments · May be fixed by #1140
Open

Yamux: Remove trySend AsyncSpawn #1134

lchenut opened this issue Jun 21, 2024 · 0 comments · May be fixed by #1140
Assignees

Comments

@lchenut
Copy link
Collaborator

lchenut commented Jun 21, 2024

AsyncSpawn, in this specific case is clearly overkill. AsyncSpawn is not recommanded as it is uncontrollable, and, here, it could easily be replaced by another method which is safer such as an AsyncQueue or just storing the Future in the Yamux object.

@lchenut lchenut self-assigned this Jun 21, 2024
@lchenut lchenut linked a pull request Jun 26, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
Development

Successfully merging a pull request may close this issue.

1 participant