computables library

Classes

Computable<T>
ComputableFuture<T>
ComputableStream<T>
Computation<T>
A Computation combines the values of one or more input computables into a single output value using the provided compute function.
ComputationTransform<T>
A ComputationTransform transforms a set of input computables into a single output computable which it subscribes to and emits values from.
ForwardingComputable<T>
StreamFactory<T>
Returns a new stream produced by calling factory whenever a listener subscribes to the StreamFactory.

Mixins

Dependencies<T>
A mixin that enables a Computable to depend on other computables.
Forwarding<T>
A mixin that enables a Computable to forward values from other computables, streams or futures onto itself.

Functions

createTransformer<S, T>({void onListen(StreamController<T> controller)?, void onData(StreamController<T> controller, S data)?}) StreamTransformer<S, T>
StreamTransformer implementation based on Dart docs: https://api.flutter.dev/flutter/dart-async/StreamTransformer/StreamTransformer.html. Used for transforming an existing input stream to manipulate the data it emits on initially listening to the stream and subsequent data events.
startWithStreamTransformer<T>(T event) StreamTransformer<T, T>

Typedefs

Dependent = Dependencies