rxdart_ext 0.1.1-dev.0 rxdart_ext: ^0.1.1-dev.0 copied to clipboard
Some extension methods and classes built on top of RxDart - RxDart extension.
rxdart_ext #
Author: Petrus Nguyễn Thái Học #
Some extension methods and classes built on top of RxDart
- RxDart
extension.
API #
Single #
A Stream which emits single event, either data or error, and then close with a done-event.
Success case: ------(*)-------------------------|---
data done
Failure case: ------(x)-------------------------|---
error done
-
Create Single
-
Factories and static methods.
-
Convert others to Single via extensions.
-
-
Operators for Single
Operators for Stream #
- debug, collect
- ForwardingSinkMixin
- distinctUniqueBy
- distinctBy
- ignoreElements, ignoreErrors
- mapNotNull
- toSingleSubscription
- asVoid
- whereNotNull
NotReplayValueStream #
A Stream that provides synchronous access to the last emitted item, but not replay the latest value.
- NotReplayValueStream
- Broadcast
- Single-subscription
RxDart compatibility #
rxdart | rxdart_ext |
---|---|
^0.26.0 | ^0.0.1 |
^0.27.0 | ^0.1.0 |