Méthode |
Description |
|
asObservable ( ) : Rx\Observable\AnonymousObservable |
Hides the identity of an observable sequence. |
|
average ( ) : Rx\Observable\AnonymousObservable |
Computes the average of an observable sequence of values. |
|
bufferWithCount ( $count, integer $skip = null ) : Rx\Observable\AnonymousObservable |
Projects each element of an observable sequence into zero or more buffers which are produced based on
element count information. |
|
catchError ( callable $selector ) : Rx\Observable\AnonymousObservable |
Continues an observable sequence that is terminated by an exception with the next observable sequence. |
|
combineLatest ( array $observables, callable $selector = null ) : Rx\Observable\AnonymousObservable |
Merges the specified observable sequences into one observable sequence by using the selector function whenever
any of the observable sequences produces an element. Observables need to be an array. |
|
concat ( rx\ObservableInterface $observable ) : Rx\Observable\AnonymousObservable |
Concatenate an observable sequence onto the end of the source observable. |
|
concatAll ( ) : Rx\Observable\AnonymousObservable |
Concatenates a sequence of observable sequences into a single observable sequence. |
|
concatMap ( callable $selector, callable $resultSelector = null ) : Rx\Observable\AnonymousObservable |
Projects each element of an observable sequence to an observable sequence and concatenates the resulting
observable sequences into one observable sequence. |
|
concatMapTo ( rx\ObservableInterface $observable, callable $resultSelector = null ) : Rx\Observable\AnonymousObservable |
Projects each element of the source observable sequence to the other observable sequence and merges the
resulting observable sequences into one observable sequence. |
|
count ( callable $predicate = null ) : Rx\Observable\AnonymousObservable |
Returns an observable sequence containing a value that represents how many elements in the specified observable
sequence satisfy a condition if provided, else the count of items. |
|
create ( callable $subscribeAction ) : Rx\Observable\AnonymousObservable |
Creates an observable sequence from a specified subscribeAction callable implementation. |
|
defaultIfEmpty ( rx\ObservableInterface $observable ) : Rx\Observable\AnonymousObservable |
Returns the specified value of an observable if the sequence is empty. |
|
defer ( callable $factory ) : Rx\Observable\AnonymousObservable |
Returns an observable sequence that invokes the specified factory function whenever a new observer subscribes. |
|
delay ( $delay, rx\SchedulerInterface | null $scheduler = null ) : Rx\Observable\AnonymousObservable |
Time shifts the observable sequence by dueTime. The relative time intervals between the values are preserved. |
|
dematerialize ( ) : Rx\Observable\AnonymousObservable |
Dematerializes the explicit notification values of an observable sequence as implicit notifications. |
|
distinct ( callable $comparer = null ) : Rx\Observable\AnonymousObservable |
Returns an observable sequence that contains only distinct elements according to the keySelector and the
comparer. Usage of this operator should be considered carefully due to the maintenance of an internal lookup
structure which can grow large. |
|
distinctKey ( callable $keySelector, callable $comparer = null ) : Rx\Observable\AnonymousObservable |
Variant of distinct that takes a key selector |
|
distinctUntilChanged ( callable $comparer = null ) : Rx\Observable\AnonymousObservable |
A variant of distinct that only compares emitted items from the source Observable against their immediate predecessors in order to determine whether or not they are distinct. |
|
distinctUntilKeyChanged ( callable $keySelector = null, callable $comparer = null ) : Rx\Observable\AnonymousObservable |
Variant of distinctUntilChanged that takes a key selector
and the comparer. |
|
doOnCompleted ( callable $onCompleted ) : Rx\Observable\AnonymousObservable |
|
|
doOnEach ( rx\ObserverInterface $observer ) : Rx\Observable\AnonymousObservable |
Invokes an action for each element in the observable sequence and invokes an action upon graceful
or exceptional termination of the observable sequence. |
|
doOnError ( callable $onError ) : Rx\Observable\AnonymousObservable |
|
|
doOnNext ( callable $onNext ) : Rx\Observable\AnonymousObservable |
|
|
emptyObservable ( ) : Rx\Observable\EmptyObservable |
Returns an empty observable sequence. |
|
error ( Exception $error ) : Rx\Observable\ErrorObservable |
Returns an observable sequence that terminates with an exception. |
|
filter ( callable $predicate ) : Rx\Observable\AnonymousObservable |
Emit only those items from an Observable that pass a predicate test. |
|
flatMap ( callable $selector ) : Rx\Observable\AnonymousObservable |
Projects each element of an observable sequence to an observable sequence and merges the resulting observable sequences into one observable sequence. |
|
flatMapLatest ( callable $selector, rx\SchedulerInterface $scheduler = null ) : Rx\Observable\AnonymousObservable |
Bypasses a specified number of elements in an observable sequence and then returns the remaining elements. |
|
flatMapTo ( rx\ObservableInterface $observable ) : Rx\Observable\AnonymousObservable |
Projects each element of the source observable sequence to the other observable sequence and merges the
resulting observable sequences into one observable sequence. |
|
fromArray ( array $array ) : Rx\Observable\ArrayObservable |
Converts an array to an observable sequence |
|
fromIterator ( Iterator $iterator ) : IteratorObservable |
Converts an Iterator into an observable sequence |
|
groupBy ( callable $keySelector, callable $elementSelector = null, callable $keySerializer = null ) : Rx\Observable\AnonymousObservable |
Groups the elements of an observable sequence according to a specified key selector function and comparer and selects the resulting elements by using a specified function. |
|
groupByUntil ( callable $keySelector, callable $elementSelector = null, callable $durationSelector = null, callable $keySerializer = null ) : Rx\Observable\AnonymousObservable |
Groups the elements of an observable sequence according to a specified key selector function and comparer and selects the resulting elements by using a specified function. |
|
interval ( $interval, rx\SchedulerInterface | null $scheduler = null ) : Rx\Observable\IntervalObservable |
Returns an Observable that emits an infinite sequence of ascending integers starting at 0, with a constant interval of time of your choosing between emissions. |
|
just ( mixed $value ) : Rx\Observable\AnonymousObservable |
Returns an observable sequence that contains a single element. |
|
lift ( callable $operatorFactory ) : Rx\Observable\AnonymousObservable |
Lifts a function to the current Observable and returns a new Observable that when subscribed to will pass
the values of the current Observable through the Operator function. |
|
map ( callable $selector ) : Rx\Observable\AnonymousObservable |
Takes a transforming function that operates on each element. |
|
mapTo ( $value ) : Rx\Observable\AnonymousObservable |
Maps every value to the same value every time |
|
mapWithIndex ( callable $selector ) : Rx\Observable\AnonymousObservable |
Maps operator variant that calls the map selector with the index and value |
|
materialize ( ) : Rx\Observable\AnonymousObservable |
Materializes the implicit notifications of an observable sequence as explicit notifications. |
|
max ( callable $comparer = null ) : Rx\Observable\AnonymousObservable |
Returns the maximum value in an observable sequence according to the specified comparer. |
|
merge ( rx\ObservableInterface $otherObservable ) : Rx\Observable\AnonymousObservable |
Combine an Observable together with another Observable by merging their emissions into a single Observable. |
|
mergeAll ( rx\ObservableInterface $sources ) : Rx\Observable\AnonymousObservable |
Merges an observable sequence of observables into an observable sequence. |
|
min ( callable $comparer = null ) : Rx\Observable\AnonymousObservable |
Returns the minimum value in an observable sequence according to the specified comparer. |
|
multicast ( Rx\Subject\Subject $subject, null $selector = null, rx\SchedulerInterface $scheduler = null ) : Rx\Observable\ConnectableObservable | Rx\Observable\MulticastObservable |
Multicasts the source sequence notifications through an instantiated subject into all uses of the sequence
within a selector function. Each subscription to the resulting sequence causes a separate multicast invocation,
exposing the sequence resulting from the selector function's invocation. For specializations with fixed subject
types, see Publish, PublishLast, and Replay. |
|
multicastWithSelector ( callable $subjectSelector, null $selector = null ) : Rx\Observable\ConnectableObservable | Rx\Observable\MulticastObservable |
Multicasts the source sequence notifications through an instantiated subject from a subject selector factory,
into all uses of the sequence within a selector function. Each subscription to the resulting sequence causes a
separate multicast invocation, exposing the sequence resulting from the selector function's invocation. |
|
never ( ) : Rx\Observable\NeverObservable |
Returns a non-terminating observable sequence, which can be used to denote an infinite duration. |
|
partition ( callable $predicate ) : Rx\Observable\AnonymousObservable[] |
Returns two observables which partition the observations of the source by the given function. |
|
pluck ( mixed $property ) : Observable |
Returns an Observable containing the value of a specified array index (if array) or property (if object) from
all elements in the Observable sequence. If a property can't be resolved the observable will error. |
|
publish ( callable $selector = null ) : Rx\Observable\ConnectableObservable | Rx\Observable\MulticastObservable |
Returns an observable sequence that is the result of invoking the selector on a connectable observable sequence
that shares a single subscription to the underlying sequence. |
|
publishLast ( callable $selector = null ) : Rx\Observable\ConnectableObservable | Rx\Observable\MulticastObservable |
Returns an observable sequence that is the result of invoking the selector on a connectable observable sequence
that shares a single subscription to the underlying sequence containing only the last notification. |
|
publishValue ( mixed $initialValue, callable $selector = null ) : Rx\Observable\ConnectableObservable | Rx\Observable\MulticastObservable |
Returns an observable sequence that is the result of invoking the selector on a connectable observable sequence
that shares a single subscription to the underlying sequence and starts with initialValue. |
|
race ( array $observables ) : Rx\Observable\AnonymousObservable |
Propagates the observable sequence that reacts first. Also known as 'amb'. |
|
range ( $start, $count, rx\SchedulerInterface $scheduler = null ) : RangeObservable |
Generates an observable sequence of integral numbers within a specified range, using the specified scheduler to
send out observer messages. |
|
reduce ( callable $accumulator, mixed $seed = null ) : Rx\Observable\AnonymousObservable |
Applies an accumulator function over an observable sequence,
returning the result of the aggregation as a single element in the result sequence. |
|
removeObserver ( rx\ObserverInterface $observer ) |
|
|
repeat ( integer $count ) : Rx\Observable\AnonymousObservable | Rx\Observable\EmptyObservable |
Generates an observable sequence that repeats the given element the specified number of times. |
|
repeatWhen ( callable $notifier ) : Rx\Observable\AnonymousObservable | Rx\Observable\EmptyObservable |
Returns an Observable that emits the same values as the source Observable with the exception of an onCompleted. |
|
replay ( callable $selector = null, integer | null $bufferSize = null, integer | null $windowSize = null, rx\SchedulerInterface $scheduler = null ) : Rx\Observable\ConnectableObservable | Rx\Observable\MulticastObservable |
Returns an observable sequence that is the result of invoking the selector on a connectable observable sequence
that shares a single subscription to the underlying sequence replaying notifications subject to a maximum time
length for the replay buffer. |
|
retry ( integer $retryCount ) : Rx\Observable\AnonymousObservable |
Repeats the source observable sequence the specified number of times or until it successfully terminates. |
|
retryWhen ( callable $notifier ) : Rx\Observable\AnonymousObservable |
Repeats the source observable sequence on error when the notifier emits a next value. If the source observable
errors and the notifier completes, it will complete the source sequence. |
|
scan ( callable $accumulator, null $seed = null ) : Rx\Observable\AnonymousObservable |
Applies an accumulator function over an observable sequence and returns each intermediate result. |
|
select ( callable $selector ) : Rx\Observable\AnonymousObservable |
Alias for Map |
|
selectMany ( $selector ) : Rx\Observable\AnonymousObservable |
Alias for flatMap |
|
share ( ) : Rx\Observable\RefCountObservable |
Returns an observable sequence that shares a single subscription to the underlying sequence. |
|
shareReplay ( integer $bufferSize, integer $windowSize = null, rx\SchedulerInterface $scheduler = null ) : Rx\Observable\RefCountObservable |
Returns an observable sequence that shares a single subscription to the underlying sequence replaying
notifications subject to a maximum time length for the replay buffer. |
|
shareValue ( $initialValue ) : Rx\Observable\RefCountObservable |
Returns an observable sequence that shares a single subscription to the underlying sequence and starts with an
initialValue. |
|
skip ( integer $count ) : Rx\Observable\AnonymousObservable |
|
|
skipLast ( integer $count ) : Rx\Observable\AnonymousObservable |
Bypasses a specified number of elements at the end of an observable sequence. |
|
skipUntil ( rx\ObservableInterface $other ) : Rx\Observable\AnonymousObservable |
Returns the values from the source observable sequence only after the other observable sequence produces a value. |
|
skipWhile ( callable $predicate ) : Rx\Observable\AnonymousObservable |
Bypasses elements in an observable sequence as long as a specified condition is true and then returns the
remaining elements. |
|
skipWhileWithIndex ( callable $predicate ) : Rx\Observable\AnonymousObservable |
Bypasses elements in an observable sequence as long as a specified condition is true and then returns the
remaining elements. The element's index is used in the logic of the predicate function. |
|
start ( callable $action, rx\SchedulerInterface $scheduler = null ) : Rx\Observable\AnonymousObservable |
Invokes the specified function asynchronously on the specified scheduler, surfacing the result through an
observable sequence. |
|
startWith ( mixed $startValue ) : Rx\Observable\AnonymousObservable |
Prepends a value to an observable sequence with an argument of a signal value to prepend. |
|
startWithArray ( array $startArray ) : Rx\Observable\AnonymousObservable |
Prepends a sequence of values to an observable sequence with an argument of an array of values to prepend. |
|
subscribe ( rx\ObserverInterface $observer, $scheduler = null ) |
|
|
subscribeCallback ( callable $onNext = null, callable $onError = null, callable $onCompleted = null, rx\SchedulerInterface $scheduler = null ) |
|
|
subscribeOn ( rx\SchedulerInterface $scheduler ) : Rx\Observable\AnonymousObservable |
Wraps the source sequence in order to run its subscription and unsubscription logic on the specified scheduler. |
|
sum ( ) : Rx\Observable\AnonymousObservable |
Computes the sum of a sequence of values |
|
switchFirst ( ) : Rx\Observable\AnonymousObservable |
Receives an Observable of Observables and propagates the first Observable exclusively until it completes before
it begins subscribes to the next Observable. Observables that come before the current Observable completes will
be dropped and will not propagate. |
|
switchLatest ( rx\SchedulerInterface $scheduler = null ) : Rx\Observable\AnonymousObservable |
Transforms an observable sequence of observable sequences into an observable sequence producing values only
from the most recent observable sequence. |
|
take ( integer $count ) : Rx\Observable\AnonymousObservable | Rx\Observable\EmptyObservable |
Returns a specified number of contiguous elements from the start of an observable sequence |
|
takeLast ( $count ) : Rx\Observable\AnonymousObservable |
Returns a specified number of contiguous elements from the end of an observable sequence. |
|
takeUntil ( rx\ObservableInterface $other ) : Rx\Observable\AnonymousObservable |
Returns the values from the source observable sequence until the other observable sequence produces a value. |
|
takeWhile ( callable $predicate ) : Rx\Observable\AnonymousObservable |
Returns elements from an observable sequence as long as a specified condition is true. It takes as a parameter a
a callback to test each source element for a condition. The callback predicate is called with the value of the
element. |
|
takeWhileWithIndex ( callable $predicate ) : Rx\Observable\AnonymousObservable |
Returns elements from an observable sequence as long as a specified condition is true. It takes as a parameter a
a callback to test each source element for a condition. The callback predicate is called with the index and the
value of the element. |
|
throttle ( $throttleDuration, null $scheduler = null ) : Rx\Observable\AnonymousObservable |
Returns an Observable that emits only the first item emitted by the source Observable during
sequential time windows of a specified duration. |
|
timeout ( $timeout, rx\ObservableInterface $timeoutObservable = null, rx\SchedulerInterface $scheduler = null ) : Rx\Observable\AnonymousObservable |
|
|
timer ( integer $dueTime, rx\SchedulerInterface $scheduler = null ) : TimerObservable |
Returns an observable sequence that produces a value after dueTime has elapsed. |
|
timestamp ( rx\SchedulerInterface $scheduler = null ) : Rx\Observable\AnonymousObservable |
Records the timestamp for each value in an observable sequence. |
|
toArray ( ) : Rx\Observable\AnonymousObservable |
Creates an observable sequence containing a single element which is an array containing all the elements of the source sequence. |
|
where ( callable $predicate ) : Rx\Observable\AnonymousObservable |
Alias for filter |
|
zip ( array $observables, callable $selector = null ) : Rx\Observable\AnonymousObservable |
Merges the specified observable sequences into one observable sequence by using the selector
function whenever all of the observable sequences have produced an element at a corresponding index. If the
result selector function is omitted, a list with the elements of the observable sequences at corresponding
indexes will be yielded. |
|