We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc5ea50 commit ac45e60Copy full SHA for ac45e60
wit/streams.wit
@@ -102,6 +102,10 @@ interface streams {
102
/// promptly, which could even be zero. To wait for the stream to be ready to
103
/// accept data, the `subscribe` function to obtain a `pollable` which can be
104
/// polled for using `wasi:io/poll`.
105
+ ///
106
+ /// Dropping an `output-stream` while there's still an active write in
107
+ /// progress may result in the data being lost. Before dropping the stream,
108
+ /// be sure to fully flush your writes.
109
resource output-stream {
110
/// Check readiness for writing. This function never blocks.
111
///
0 commit comments