talira

ReactiveX operators, Subjects and extra Stream classes for Dart Streams

open sourceApache-2.0free

RxDart implements the ReactiveX API for asynchronous programming on top of Dart's own Streams. Rather than replacing Streams with an Observable class, it adds Stream classes, operators as extension methods on Stream, and Subjects such as BehaviorSubject. A companion package, rxdart_flutter, maintained in the same repository, gives Flutter widgets for building reactive UIs from its ValueStreams.

Problems it solves

  • Combine, debounce and buffer Dart streams with Rx-style operators
  • Hold the latest value of a stream in my Flutter app and replay it to new listeners
  • Build Flutter widgets that rebuild from a value stream

Features

  • Operators as extension methods on Dart Streams
  • Subjects, including BehaviorSubject and ReplaySubject
  • Extra Stream classes such as CombineLatestStream
  • rxdart_flutter widgets for ValueStreams

Capabilities

Has an APIplan not known

Alternatives

The same job

These do what RxDart does.

  1. stream_transform Debounce, throttle, switchMap and other operators for Dart streams

Compare RxDart with the top 3