fast_rx library

Classes

Rx<T>
Base class for reactives
RxBool
A reactive bool
RxComposite
An Rx that is composed of other Rx objects and notifies when they do
RxCompositeList<E extends Rx>
Composite version of RxList that notifies when elements do
RxCompositeMap<K, V extends Rx>
Composite version of RxMap that notifies when elements do
RxCompositeSet<E extends Rx>
Composite version of RxSet that notifies when elements do
RxDateTime
A reactive DateTime
RxDouble
A reactive double
RxDuration
A reactive Duration
RxInt
A reactive int
RxList<E>
A reactive List
RxMap<K, V>
A reactive Map
RxObject<T>
An object that will properly emit updates when calling notify
RxObserver
Listen to multiple Rx streams
RxPrimitive<T>
A reactive primitive
RxSet<E>
A reactive Set
RxString
A reactive String
RxValue<T>
A reactive value
RxZone
Convenience class to get the RxRegistrar and RxNotifier of the current Zone if they exist

Mixins

RxCompositeMixin<T>
Mixin version of RxComposite for use on classes that already extend Rx

Extensions

RxBoolExtension on bool
Extension to allow creating reactive bools
RxCompositeListExtension on RxList<E>
Extension to allow creating composite RxLists
RxCompositeMapExtension on RxMap<K, V>
Extension to allow creating composite RxMaps
RxCompositeSetExtension on RxSet<E>
Extension to allow creating composite RxSets
RxDateTimeExtension on DateTime
Extension to allow creating reactive DateTimes
RxDoubleExtension on double
Extension to allow creating reactive doubles
RxDurationExtension on Duration
Extension to allow creating reactive Durations
RxIntExtension on int
Extension to allow creating reactive ints
RxListExtension on List<E>
Extension to allow creating reactive Lists
RxMapExtension on Map<K, V>
Extension to allow creating reactive Maps
RxSetExtension on Set<E>
Extension to allow creating reactive Sets
RxStringExtension on String
Extension to allow creating reactive Strings
RxValueExtension on T
Extension to allow creating reactive values

Functions

runRxZoned<R>(RxAction<R> action, {RxRegistrar? registrar, RxNotifier? notifier}) → R
Run action in an rx zone

Typedefs

RxAction<R> = R Function()
An rx action to run in an rx zone
RxNotifier = void Function(int id)
An rx notifier for an rx zone
RxRegistrar = void Function(Stream stream)
An rx registrar for an rx zone

Exceptions / Errors

FastRxException
An exception thrown by FastRx
RxObjectValueIsReadOnly
Exception thrown when attempting to set RxObject.value
RxObserverIsNotListenable
Exception thrown when an RxObserver contains no registrable values
RxRunActionWasAsync
Exception thrown when attempting to call Rx.run with an async action