code: function () {
      var self = this;
      if (self === DDPServer._CurrentWriteFence.get())
        throw Error("Can't arm the current fence");
      self.armed = true;
      self._maybeFire();
    }
docs: Arm the fence. Once the fence is armed, and there are no more uncommitted writes, it will activate.