#
cp.rx.Subject
Subjects function both as an Observer and as an Observable. Subjects inherit all
Observable functions, including Subject, which will
be broadcasted to any subscribed Observers.
#
API Overview
Constructors - API calls which return an object, typically one that offers API methods
create
Methods - API calls which can only be made on an object returned by a constructor
onCompleted onError onNext subscribe
#
API Documentation
#
Constructors
#
create
#
Methods
#
onCompleted
#
onError
#
onNext
#
subscribe
See also
CommandPost
Module
cp.rx
Reactive Extensions for Lua.
cp.rx.BehaviorSubject
A Subject that tracks its current value. Provides an accessor to retrieve the most recent pushed value, and all subscribers immediately receive the
cp.rx.RelaySubject
A Subject that provides new Observers with some or all of the most recently produced values upon reference.