Skip to content

Please, update Stream.contains() signature #30564

Open
@alsemenov

Description

@alsemenov

The description for method dart:async:Stream.contains() reads:

Future contains(
Object needle
)
Checks whether needle occurs in the elements provided by this stream.

Completes the Future when the answer is known. If this stream reports an error, the Future will report that error.

I think, needle should be of type T, where T is from Stream<T>

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