Skip to content

Feature: relays .asInfallible() #2429

@mashe

Description

@mashe

Hello,

I have played around with Infallible and noticed that neither of Relays (PublishRelay, BehaviorRelay nor ReplayRelay) could not be converted into a Infallible without providing a fallback. Relays never end or emit error so I guess it is fine to be converted into Infallible with asInfallible().

What do you think? Am I missing something?

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