rxdart_ext 0.1.1-dev.0 copy "rxdart_ext: ^0.1.1-dev.0" to clipboard
rxdart_ext: ^0.1.1-dev.0 copied to clipboard

outdated

Some extension methods and classes built on top of RxDart - RxDart extension.

rxdart_ext #

Author: Petrus Nguyễn Thái Học #

codecov Dart CI Pub Version (including pre-releases) Hits GitHub Style

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.

      • Single.value
      • Single.error
      • Single.fromFuture
      • Single.fromCallable
      • Single.timer
      • Single.defer
      • Single.zip2
    • Convert others to Single via extensions.

      • Stream.singleOrError
      • Future.asSingle
      • (FutureOr
  • Operators for Single

    • flatMapSingle
    • asyncExpandSingle
    • switchMapSingle
    • exhaustMapSingle
    • delay

Operators for Stream #

NotReplayValueStream #

A Stream that provides synchronous access to the last emitted item, but not replay the latest value.

RxDart compatibility #

rxdart rxdart_ext
^0.26.0 ^0.0.1
^0.27.0 ^0.1.0
14
likes
0
points
18.9k
downloads

Publisher

unverified uploader

Weekly Downloads

Some extension methods and classes built on top of RxDart - RxDart extension.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

meta, path, rxdart, stack_trace

More

Packages that depend on rxdart_ext