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