aioreactive icon indicating copy to clipboard operation
aioreactive copied to clipboard

AsyncRx.distinct_until_changed, wrong signature

Open SmoothieAq opened this issue 11 months ago • 2 comments

In AsyncRx

the signature def distinct_until_changed(self) -> AsyncObservable[_TSource]: should be def distinct_until_changed(self) -> AsyncRx[_TSource]:

The actual return is correct, only the signature is wrong

SmoothieAq avatar Mar 03 '24 15:03 SmoothieAq

some of the other functions in AsyncRx has the same problem, kind of makes it hard to use AsyncRx for nice and fluent notation :-|

SmoothieAq avatar Mar 03 '24 15:03 SmoothieAq

Would also be very nice if AsyncRx had a pipe() like for example Seq

SmoothieAq avatar Mar 03 '24 15:03 SmoothieAq