code: async function _$updateRecordShallow(name, obj, lockedKeys = []) {
    for (const [key, value] of Object.entries(obj)) {
      if (!lockedKeys.includes(key)) {
        // eslint-disable-next-line
        await this.record.setDataP(name, key, value);
      }
    }
  }
docs: function _$updateRecordShallow(name, obj, lockedKeys = []) { return Promise.all( Object.entries(obj).reduce((promises, [key, value]) => { if (!lockedKeys.includes(key)) { promises.push(this.record.setDataP(name, key, value)); } return promises; }, []), ).then(() => undefined); } NOTE: Temporary solution to dodge deepstream bug where consecutive setData overwrites callbacks Property updates are made sequential instead of in parallel