streamInterface
Stream interface function returned from can-stream
streamInterface( observable, propAndOrEvent[,event] )
The stream interface function returned from can-stream that has the following property methods:
- .toStream(observable, propAndOrEvent[,event])
- .toStreamFromProperty(property)
- .toStreamFromEvent(property)
- .toCompute(makeStream(setStream), context):compute
Parameters
- observable
{Object}
:An observable object
- property
{String}
:A property of the observable object prepended with
.
- event
{String}
:An optional event name of the observable object