async _measureChildren() {
    if (this._ordered.length > 0) {
      const {indices, children} = this._toMeasure;
      await Promise.resolve();
      const pm = await Promise.all(children.map(
          (c, i) => this._indexToMeasure[indices[i]] || this._measureChild(c)));
      const mm = /** @type {{ number: { width: number, height: number } }} */
          (pm.reduce((out, cur, i) => {
            out[indices[i]] = this._indexToMeasure[indices[i]] = cur;
            return out;
          }, {}));
      this._measureCallback(mm);
    }
  }
/**
   * Measures each child bounds and builds a map of index/bounds to be passed to
   * the `_measureCallback`
   * @private
   */
Measures each child bounds and builds a map of index/bounds to be passed to
the `_measureCallback`
@private
Measures each child bounds and builds a map of index / bounds to be passed to the ` _measureCallback ` @private
async _measureChildren() {
    if (this._ordered.length > 0) {
      const {indices, children} = this._toMeasure;
      await Promise.resolve();
      const pm = await Promise.all(children.map(
          (c, i) => this._indexToMeasure[indices[i]] || this._measureChild(c)));
      const mm = 
          (pm.reduce((out, cur, i) => {
            out[indices[i]] = this._indexToMeasure[indices[i]] = cur;
            return out;
          }, {}));
      this._measureCallback(mm);
    }
  }
async _measureChildren ( ) { if ( this . _ordered . length > 0 ) { const { indices , children } = this . _toMeasure ; await Promise . resolve ( ) ; const pm = await Promise . all ( children . map ( ( c , i ) => this . _indexToMeasure [ indices [ i ] ] || this . _measureChild ( c ) ) ) ; const mm = ( pm . reduce ( ( out , cur , i ) => { out [ indices [ i ] ] = this . _indexToMeasure [ indices [ i ] ] = cur ; return out ; } , { } ) ) ; this . _measureCallback ( mm ) ; } }
Measures each child bounds and builds a map of index/bounds to be passed to
 the `_measureCallback`
 @private
Measures each child bounds and builds a map of index / bounds to be passed to the ` _measureCallback ` @private
/** @type {{ number: { width: number, height: number } }} */