Add will add an item to this queue, executing the ProcessFunc after the Duration has come (since the time Add was called). If an existing Timer for obj already exists, the previous timer will be cancelled.
(T, time.Duration)
| 64 | // Duration has come (since the time Add was called). If an existing Timer |
| 65 | // for obj already exists, the previous timer will be cancelled. |
| 66 | Add(T, time.Duration) |
| 67 | |
| 68 | // Forget will cancel the timer for the given object, if the timer exists. |
| 69 | Forget(T) |
no outgoing calls