Skip to content

Consider deprecating or removing StreamIterator. #30777

Open
@lrhn

Description

@lrhn

The StreamIterator class isn't very well designed. The StreamQueue in package:async is superior as a way to access events using (async) pull.

The StreamIterator has simplicity going for it. It's unclear whether it pauses the stream or not (it currently does if you don't call moveNext again during the callback from the previous one).

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-core-librarySDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries.core-nlibrary-asynctype-enhancementA request for a change that isn't a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions