瀏覽代碼

Removed `ContextWatchdog#waitForReady()` method.

Maciej Bukowski 5 年之前
父節點
當前提交
a263ea8109
共有 1 個文件被更改,包括 0 次插入9 次删除
  1. 0 9
      packages/ckeditor5-watchdog/src/contextwatchdog.js

+ 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.
 	 *