#
cp.rx.Observable
Observables push values to Observers.
#
API Overview
Functions - API calls offered directly by the extension
is
Constructors - API calls which return an object, typically one that offers API methods
create defer empty firstEmitting fromCoroutine fromFileByLine fromRange fromTable never of replicate throw zip
Methods - API calls which can only be made on an object returned by a constructor
all average buffer catch combineLatest compact concat contains count debounce defaultIfEmpty delay distinct distinctUntilChanged dump elementAt filter finalize find first flatMap flatMapLatest flatten ignoreElements last map max merge min next partition pluck reduce reject retry retryWithDelay sample scan skip skipLast skipUntil skipWhile startWith subscribe sum switch switchIfEmpty take takeLast takeUntil takeWhile tap timeout unpack unwrap with
#
API Documentation
#
Functions
#
is
#
Constructors
#
create
#
defer
#
empty
#
firstEmitting
#
fromCoroutine
#
fromFileByLine
#
fromRange
#
fromTable
#
never
#
of
#
replicate
#
throw
#
zip
#
Methods
#
all
#
average
#
buffer
#
catch
#
combineLatest
#
compact
#
concat
#
contains
#
count
#
debounce
#
defaultIfEmpty
#
delay
#
distinct
#
distinctUntilChanged
#
dump
#
elementAt
#
filter
#
finalize
#
find
#
first
#
flatMap
#
flatMapLatest
#
flatten
#
ignoreElements
#
last
#
map
#
max
#
merge
#
min
#
next
#
partition
#
pluck
#
reduce
#
reject
#
retry
#
retryWithDelay
#
sample
#
scan
#
skip
#
skipLast
#
skipUntil
#
skipWhile
#
startWith
#
subscribe
#
sum
#
switch
#
switchIfEmpty
#
take
#
takeLast
#
takeUntil
#
takeWhile
#
tap
#
timeout
#
unpack
#
unwrap
#
with
See also
Module
Reactive Extensions for Lua.
Defines Statements to make processing of cp.rx.Observable values in ways that are more familiar to synchronous programmers.
A Statement that will execute the provided resolvable values. This will resolve the provided values into Observables and pass on the first result of
A Statement that will execute the provided resolvable values. This will resolve the provided values into Observables and pass on the first result of
A Statement is defined to enable processing of asynchronous resolvable values such as cp.rx.Observable values.
A Statement is defined before being executable. A definition is initiated with the Statement:modifier(...) method.
Observers are simple objects that receive values from Observables.
A handle representing the link between an Observer and an Observable, as well as any work required to clean up after the Observable completes or the
Subjects function both as an Observer and as an Observable. Subjects inherit all Observable functions, including subscribe. Values can also be pushed