Closed badeend closed 1 month ago
The intent was that all errors are final - we couldn't come up with a good story for why transient errors should be reported at all through the stream interfaces.
I believe what I intended was for the last-operation-failed
to be thrown the first time, and subsequently the stream is always closed
.
Okay. I've created a PR to clarify this: https://github.com/WebAssembly/wasi-io/pull/84
The docs for
stream-error::closed
read:Should the same apply for
stream-error::last-operation-failed
? I.e.: are errors final or are transient errors allowed?