Skip to content

Idea: Usable as AsycInterator #279

Description

@mAAdhaTTah

I'm not entirely sure of the implementation, but Observables should lend themselves to being async iterable:

// resolves on each value emitted
for await (const value of obs$) {
  // iterator closes when observable ends
}
// throw on error?

Would this be useful to implement?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions