Kaynağa Gözat

Removed `ContextWatchdog#waitForReady()` method.

Maciej Bukowski 5 yıl önce
ebeveyn
işleme
a263ea8109

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

@@ -268,15 +268,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.
 	 * Once the `ContextWatchdog` is destroyed new items can not be added.
 	 *