Rx.Recorded
Record of a value including the virtual time it was produced on.
Location
rx.testing.js
Recorded Constructor
##
Recorded Constructor
##Recorded Instance Methods
##
Recorded Instance Methods
##Recorded Instance Properties
##
Recorded Instance Properties
##Recorded Constructor ##
Rx.Recorded(time, value, [comparer])
Rx.Recorded(time, value, [comparer])
Creates a new object recording the production of the specified value at the given virtual time.
Arguments
time
(Number): Virtual time the value was produced on.value
(Any): Value that was produced[comparer]
(Function): Optional comparer function.
Example
Location
rx.js
Recorded Instance Methods ##
Rx.Recorded.prototype.equals(other)
Rx.Recorded.prototype.equals(other)
Checks whether the given recorded object is equal to the current instance.
Arguments
other
(Recorded): Recorded object to check for equality.
Returns
(Boolean): Returns true
if the Recorded equals the other, else false
.
Example
Location
rx.testing.js
Rx.Recorded.prototype.toString()
Rx.Recorded.prototype.toString()
Returns a string representation of the current Recorded value.
Returns
(String): String representation of the current Recorded value.
Example
Location
rx.testing.js
Recorded Instance Properties ##
time
time
Gets the virtual time the value was produced on.
Returns
(Number): The virtual time the value was produced on.
Example
Location
rx.testing.js
value
value
Gets the recorded value.
Returns
(Number): The recorded value.
Example
Location
rx.testing.js
Last updated