©
이 문서에서는 PHP 중국어 웹사이트 매뉴얼 풀어 주다
This service is just a simple decorator for $timeout service that adds a "flush" and "verifyNoPendingTasks" methods.
flush([delay]);
Flushes the queue of pending tasks.
参数 | 类型 | 详述 |
---|---|---|
delay
(可选)
|
number |
maximum timeout amount to flush up until |
verifyNoPendingTasks();
Verifies that there are no pending tasks that need to be flushed.