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