?
Ce document utilise Manuel du site Web PHP chinois Libérer
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.
參數(shù) | 類型 | 詳述 |
---|---|---|
delay
(可選)
|
number |
maximum timeout amount to flush up until |
verifyNoPendingTasks();
Verifies that there are no pending tasks that need to be flushed.