wait(promise) {
    if (promise) this._wait.push(promise);
    return Promise.all(this._wait);
  }
@method wait
@instance
@description Wait for a promise.
@param {Promise} [promise] - The promise that should be added to a queue.
@return {Promise} Promise that is resolved when all promises completed.
@memberof module:core.Component