Skip to content

ValueStream.map should return ValueStream (?) #735

@Albert221

Description

@Albert221

Hello,

shouldn't ValueStream<T>.map(U Function(T)) return ValueStream<U> instead of Stream<U>?

I'd like to have an easy way to map the value stream while preserving the value stream characteristics.

This is what I used instead: https://gist.github.com/Albert221/c0da244cec07f7f2de317d19d9a56a27

Probably related to #625.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions