RxSingles class abstract

A utility class that provides static methods to create the various Singles provided by rxdart_ext.

Similar to Rx of rxdart, but for Singles.

Annotations
  • @sealed

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

forkJoin2<A, B, T>(Single<A> singleA, Single<B> singleB, T combiner(A, B)) Single<T>
Merges the given Singles into a single Single sequence by using the combiner function when all of the Single sequences emits their last item.
forkJoin3<A, B, C, T>(Single<A> singleA, Single<B> singleB, Single<C> singleC, T combiner(A, B, C)) Single<T>
Merges the given Singles into a single Single sequence by using the combiner function when all of the Single sequences emits their last item.
forkJoin4<A, B, C, D, T>(Single<A> singleA, Single<B> singleB, Single<C> singleC, Single<D> singleD, T combiner(A, B, C, D)) Single<T>
Merges the given Singles into a single Single sequence by using the combiner function when all of the Single sequences emits their last item.
forkJoin5<A, B, C, D, E, T>(Single<A> singleA, Single<B> singleB, Single<C> singleC, Single<D> singleD, Single<E> singleE, T combiner(A, B, C, D, E)) Single<T>
Merges the given Singles into a single Single sequence by using the combiner function when all of the Single sequences emits their last item.
forkJoin6<A, B, C, D, E, F, T>(Single<A> singleA, Single<B> singleB, Single<C> singleC, Single<D> singleD, Single<E> singleE, Single<F> singleF, T combiner(A, B, C, D, E, F)) Single<T>
Merges the given Singles into a single Single sequence by using the combiner function when all of the Single sequences emits their last item.
forkJoin7<A, B, C, D, E, F, G, T>(Single<A> singleA, Single<B> singleB, Single<C> singleC, Single<D> singleD, Single<E> singleE, Single<F> singleF, Single<G> singleG, T combiner(A, B, C, D, E, F, G)) Single<T>
Merges the given Singles into a single Single sequence by using the combiner function when all of the Single sequences emits their last item.
forkJoin8<A, B, C, D, E, F, G, H, T>(Single<A> singleA, Single<B> singleB, Single<C> singleC, Single<D> singleD, Single<E> singleE, Single<F> singleF, Single<G> singleG, Single<H> singleH, T combiner(A, B, C, D, E, F, G, H)) Single<T>
Merges the given Singles into a single Single sequence by using the combiner function when all of the Single sequences emits their last item.
forkJoin9<A, B, C, D, E, F, G, H, I, T>(Single<A> singleA, Single<B> singleB, Single<C> singleC, Single<D> singleD, Single<E> singleE, Single<F> singleF, Single<G> singleG, Single<H> singleH, Single<I> singleI, T combiner(A, B, C, D, E, F, G, H, I)) Single<T>
Merges the given Singles into a single Single sequence by using the combiner function when all of the Single sequences emits their last item.
forkJoinList<T>(Iterable<Single<T>> singles) Single<List<T>>
Merges the given Singles into a single Single sequence by using the combiner function when all of the Single sequences emits their last item.
using<T, R>(R resourceFactory(), Single<T> singleFactory(R), FutureOr<void> disposer(R)) Single<T>
When listener listens to it, creates a resource object from resource factory function, and creates a Single from the given factory function and resource as argument. Finally when the Single finishes emitting items or stream subscription is cancelled (call StreamSubscription.cancel or Single.listen(cancelOnError: true)), call the disposer function on resource object.
zip2<A, B, T>(Single<A> singleA, Single<B> singleB, T zipper(A, B)) Single<T>
Merges the specified Singles into one Single sequence using the given zipper function whenever all of the Single sequences have produced an element.