rx.shared library

Constants

isJavaScript → const bool
True, if the code is running in JavaScript.
identical(1, 1.0)
maxInteger → const int
The largest possible integer, used to refer to infinity internally.
9007199254740991

Properties

defaultErrorHandler ErrorCallback
Returns the current system error handler.
read / write

Functions

constantFunction0<R>(R value) Map0<R>
The constant functions.
constantFunction1<T1, R>(R value) Map1<T1, R>
constantFunction2<T1, T2, R>(R value) Map2<T1, T2, R>
constantFunction3<T1, T2, T3, R>(R value) Map3<T1, T2, T3, R>
identityFunction<T>(T argument) → T
The identity function.
nullFunction0() → void
The null functions.
nullFunction1(Object arg1) → void
nullFunction1Optional1(Object arg1, [Object arg2]) → void
nullFunction2(Object arg1, Object arg2) → void
nullFunction3(Object arg1, Object arg2, Object arg3) → void
replaceErrorHandler(ErrorCallback errorHandler) Disposable
Replaces the default error handler.
throwFunction0<R>(Object throwable) Map0<R>
The throwing functions.
throwFunction1<T1, R>(Object throwable) Map1<T1, R>
throwFunction2<T1, T2, R>(Object throwable) Map2<T1, T2, R>
throwFunction3<T1, T2, T3, R>(Object throwable) Map3<T1, T2, T3, R>

Typedefs

Callback0() → void
Function type for generic callbacks.
Callback1<T1>(T1 arg1) → void
Callback2<T1, T2>(T1 arg1, T2 arg2) → void
Callback3<T1, T2, T3>(T1 arg1, T2 arg2, T3 arg3) → void
CompleteCallback() → void
Callback type used to complete a sequence of values with a success.
ErrorCallback(Object error, [StackTrace stackTrace]) → void
Callback type used to complete a sequence of values with a failure.
Map0<R>() → R
Function type for generic mapping functions.
Map1<T1, R>(T1 arg1) → R
Map2<T1, T2, R>(T1 arg1, T2 arg2) → R
Map3<T1, T2, T3, R>(T1 arg1, T2 arg2, T3 arg3) → R
NextCallback<T>(T value) → void
Callback type used to pass a value.
Predicate0() bool
Function type for a predicate from a value of type T.
Predicate1<T1>(T1 arg1) bool
Predicate2<T1, T2>(T1 arg1, T2 arg2) bool
Predicate3<T1, T2, T3>(T1 arg1, T2 arg2, T3 arg3) bool