http://jsbin.com/bopevakexo/1/edit?js,console,output
Why doesn't the above example print stuff to the console when the "do it!" button is pressed?
Pressing that button should fire an event containing the value true, which is mapped into false in "holdStream", and "holdStream" is used to hold lightStream, which produces controlLightStream:
lightStream = Bacon.fromArray([].concat.apply([], pixel_array))
controlLightStream = lightStream.holdWhen(holdStream.toProperty(true))
controlLightStream.onValue((val) -> console.log(val))
But nothing is ever printed to the console.