ReactiveSubjectUtilitiesExtension<T> extension
- on
Methods
-
debug(
{String? tag, void onValue(T value)?, void onError(Object error)?}) → ReactiveSubject< T> -
Available on ReactiveSubject<
Adds debugging capabilities to the ReactiveSubject by logging events.T> , provided by the ReactiveSubjectUtilitiesExtension extension -
doOnData(
void onData(T event)) → ReactiveSubject< T> -
Available on ReactiveSubject<
Performs a side-effect action for each data event emitted by the source ReactiveSubject.T> , provided by the ReactiveSubjectUtilitiesExtension extension -
doOnError(
void onError(Object error, StackTrace stackTrace)) → ReactiveSubject< T> -
Available on ReactiveSubject<
Performs a side-effect action for each error event emitted by the source ReactiveSubject.T> , provided by the ReactiveSubjectUtilitiesExtension extension -
listen(
void onData(T value), {Function? onDone, Function? onError, bool? cancelOnError}) → StreamSubscription< T> -
Available on ReactiveSubject<
Listens to the stream and calls the provided callbacks.T> , provided by the ReactiveSubjectUtilitiesExtension extension -
pairwise(
) → ReactiveSubject< List< T> > -
Available on ReactiveSubject<
Emits the previous and current values as a pair.T> , provided by the ReactiveSubjectUtilitiesExtension extension -
skipLast(
int count) → ReactiveSubject< T> -
Available on ReactiveSubject<
Skips the lastT> , provided by the ReactiveSubjectUtilitiesExtension extensioncountitems emitted by the source ReactiveSubject. -
takeLast(
int count) → ReactiveSubject< T> -
Available on ReactiveSubject<
Takes the lastT> , provided by the ReactiveSubjectUtilitiesExtension extensioncountitems emitted by the source ReactiveSubject. -
takeWhileInclusive(
bool test(T event)) → ReactiveSubject< T> -
Available on ReactiveSubject<
Emits items from the source ReactiveSubject while theT> , provided by the ReactiveSubjectUtilitiesExtension extensiontestfunction returns true. Unlike Stream.takeWhile, this includes the first item that fails the test. -
timeInterval(
) → ReactiveSubject< TimeInterval< T> > -
Available on ReactiveSubject<
Emits the time interval between consecutive emissions.T> , provided by the ReactiveSubjectUtilitiesExtension extension -
timestamp(
) → ReactiveSubject< Timestamped< T> > -
Available on ReactiveSubject<
Emits each item with a timestamp indicating when it was emitted.T> , provided by the ReactiveSubjectUtilitiesExtension extension