This service is just a simple decorator for $timeout service that adds a "flush" and "verifyNoPendingTasks" methods.
Flushes the queue of pending tasks.
| delay |
| || |
maximum timeout amount to flush up until
Verifies that there are no pending tasks that need to be flushed.
© 2010–2017 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.