©
本文档使用
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.