Skip to content

Revise the documentation for WASI 0.3.0's descriptor::read. #171

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

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

Conversation

sunfishcode
Copy link
Member

Similar to WebAssembly/wasi-sockets#112, revise the description of read to clarify the relationship between the stream and the future.

Similar to WebAssembly/wasi-sockets#112, revise the description of
`read` to clarify the relationship between the `stream` and the
`future`.
///
/// If no error is encountered, `stream.read` on the `stream` will return
/// `read-status::closed` with no `error-context` and the future resolves to
/// the value `ok`. If an error is encounttered, `stream.read` on the
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
/// the value `ok`. If an error is encounttered, `stream.read` on the
/// the value `ok`. If an error is encountered, `stream.read` on the

@ricochet ricochet self-requested a review June 10, 2025 18:54
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.

3 participants