webr icon indicating copy to clipboard operation
webr copied to clipboard

The `webR.read()` API should be available as an async iterator

Open georgestagg opened this issue 7 months ago • 0 comments

The webR.read() API should be available as an async iterator, so that one can use for await ... of syntax directly.

See https://github.com/r-wasm/webr/issues/519#issuecomment-2742923017 for an example where this would have been useful.

georgestagg avatar Mar 21 '25 10:03 georgestagg