Skip to content

Stream from AsyncIterator in wasm-bindgen-futures #2399

Open
@olanod

Description

@olanod

AsyncIterator in JS is the native equivalent of Promise to represent multiple future values instead of one just as in Rust we have Future and Stream(soon in the standard library). Instead of creating a separate utility crate that converts async iterators to Rust streams I propose having that in function(e.g. iter_to_stream) in the wasm-bindgen-futures crate since the feature(can be behind a flag) is very "futures" related.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions