stream
function
An alias to toStream.
list.toStream("[.propName][ eventName]")
Creates a stream for the property and/or event.
list.toStream(".complete.length") //-> stream of .complete.length values
list.toStream("complete") //-> stream of complete events
list.toStream(".complete add") //-> stream of add events on .complete
Parameters
- propName
{String}:A property name to listen to value changes. These should always being with a
.. - eventName
{String}:An event name to listen for and create a stream from the event argument. The event name doesn't start with a
..
Returns
{Stream}:
An event stream.