pull observ struct
An isntance of observ-struct
that listens to a pull stream. Instead of calling .set
on an observable, connect it to a source stream.
install
$ npm install pull-observ-struct
example
var State = var S = // normal observ interfacevar state = // subscribe to changes// but with an `end` listener toovar stopListening = // there is no `.set` method// all changes must come from the stream // get statevar s = // remove change and end listeners