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

Docs: Mentions raw OS-Thread outside an async runtime caused by EventStream #928

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

Conversation

BoolPurist
Copy link

Reason for this PR

This pull request is motivated by the discussion of the following issue

The current implementation of the stream "EventStream" is not ideal for a future. I as a user find the current behavior
of the implementation atypical. Futures should not spawn threads outside an async runtime. This fact should be it least documented for now.

For example, Tokio's documentation mentions when an API uses a dedicated OS-Thread.

…Stream

This pull request is motivated by the discussion of the following
[issue](crossterm-rs#608)
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