Skip to content

Revisit choice for channel senders to use Result #225

Closed
@aturon

Description

@aturon

The fact that senders use Result has always struck me as a bit odd, and with the introduction of Sink, makes channels somewhat finicky to compose. I'd like to revisit whether this is the right choice to bake in by default, vs requiring a "flattening" transformation in the cases where you do want to use Result.

(Another, more minor strike against this choice is the inconsistency with oneshot, which is on its way to being more of a channel-like abstraction.)

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