Skip to content

Docs for Sink.last(Option) are wrong about failure #22691

@hseeberger

Description

@hseeberger

The docs for Sink.lastOption and Sink.last indicate that if at least a single element was processed this will be used for the mat value, even in case of failure. That doesn't reflect reality (code): in the case of failure, the mat value is a Failure.

Metadata

Metadata

Assignees

No one assigned

    Labels

    1 - triagedTickets that are safe to pick up for contributing in terms of likeliness of being acceptedhelp wantedIssues that the core team will likely not have time to work ont:stream

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions