interface-factory.js
function (updated) {
            // When the stream passes a new values, save a reference to it and call
            // the compute's internal `updated` method (which ultimately calls `get`)
            streamHandler = function (val) {
              lastValue = val;
              updated();
            };

            unsubscribe = valueStream[on](streamHandler);
          }
function (updated) {
            // When the stream passes a new values, save a reference to it and call
            // the compute's internal `updated` method (which ultimately calls `get`)
            streamHandler = function (val) {
              lastValue = val;
              updated();
            };

            unsubscribe = valueStream[on](streamHandler);
          }
function ( updated ) { // When the stream passes a new values, save a reference to it and call // the compute's internal `updated` method (which ultimately calls `get`) streamHandler = function ( val ) { lastValue = val ; updated ( ) ; } ; unsubscribe = valueStream [ on ] ( streamHandler ) ; }
When the compute is bound, bind to the resolved stream
When the compute is bound bind to the resolved stream