Skip to content

AsyncRx.NET Distinct and DistinctUntilChanged should be extension methods #2169

Open
@idg10

Description

@idg10

Bug

The AsyncObservable class's static Distinct and DistinctUntilChanged methods are not extension methods. This means that given some:

IAsyncObservable<int> xs = GetNums();

you can't write this:

xs.Distinct(); // or DistinctUntilChanged

You have to write this:

AsyncObservable.Distinct(xs);

This seems like a straightforward oversight. We just need to add the this keyword to these methods.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions