store.js
function (key, value) {
      store[key] = value
      //not urgent, but save this if we are not doing anything.
      dirty[key] = true
      apply_write(key, value)
    }
function (key, value) {
      store[key] = value
      //not urgent, but save this if we are not doing anything.
      dirty[key] = true
      apply_write(key, value)
    }
function ( key , value ) { store [ key ] = value //not urgent, but save this if we are not doing anything. dirty [ key ] = true apply_write ( key , value ) }
if set is called during a read, cb the readers immediately, and cancel the current read.
if set is called during a read cb the readers immediately and cancel the current read .