8
0
Просмотр исходного кода

Removed `ContextWatchdog#waitForReady()` method.

Maciej Bukowski 6 лет назад
Родитель
Сommit
a263ea8109
1 измененных файлов с 0 добавлено и 9 удалено
  1. 0 9
      packages/ckeditor5-watchdog/src/contextwatchdog.js

+ 0 - 9
packages/ckeditor5-watchdog/src/contextwatchdog.js

@@ -267,15 +267,6 @@ export default class ContextWatchdog extends Watchdog {
 		} );
 		} );
 	}
 	}
 
 
-	/**
-	 * Waits for all previous actions.
-	 *
-	 * @returns {Promise}
-	 */
-	waitForReady() {
-		return this._actionQueue.enqueue( () => { } );
-	}
-
 	/**
 	/**
 	 * Destroys the `ContextWatchdog` and all added items.
 	 * Destroys the `ContextWatchdog` and all added items.
 	 * Once the `ContextWatchdog` is destroyed new items can not be added.
 	 * Once the `ContextWatchdog` is destroyed new items can not be added.