wasi-io icon indicating copy to clipboard operation
wasi-io copied to clipboard

I/O Types proposal for WASI

Results 14 wasi-io issues
Sort by recently updated
recently updated
newest added

There might still be a use case for non-blocking poll list as previously discussed in https://github.com/WebAssembly/wasi-io/issues/51. If there are a list of polls on which you want to check readiness,...

Was it ever discussed to support direct timeout args to `poll_list`? Typically to avoid possibly blocking on a long-running task when there are no immediate tasks, one has to create...

What does "flush" mean? None of the WASI proposals currently define what it means to "flush" one of their output-streams. wasi-io's documentation on `flush` says: > This tells the output-stream...

During the plumber's summit I noticed that a forwarding mechanism was up for consideration in preview2.1. So, here's my take.

This PR provides a clear answer to an [outstanding issue](https://bytecodealliance.zulipchat.com/#narrow/stream/219900-wasi/topic/What.20happens.20to.20in-progress.20background.20writes.20on.20drop.3F) regarding silent data loss on drop. This change is in line with the general structured concurrency direction the component-model is...

Partly a PR, partly a question: what is supposed to happen with the already read data in case the `write` within `splice` fails? Currently, wasmtime throws the data away. Can...

Fixes https://github.com/WebAssembly/wasi-io/issues/67

The `wasi:io/poll/poll` function returns a list of indices into the list of pollables that was passed in to indicate readiness for them. Currently it's not documented which order these indices...

I've found that if I have a resource with a `to-string` that coerces to `toString` in JavaScript and immediately supports logging correctly etc due to JavaScript's blessed handling of the...

The `poll_list` function itself doesn't have a return value so it's infallible. We should document how it behaves when passed invalid file descriptors.