WithTestClock is used in testing to set the quartz clock on the manager
(clock quartz.Clock)
| 68 | |
| 69 | // WithTestClock is used in testing to set the quartz clock on the manager |
| 70 | func WithTestClock(clock quartz.Clock) ManagerOption { |
| 71 | return func(m *Manager) { |
| 72 | m.clock = clock |
| 73 | } |
| 74 | } |
| 75 | |
| 76 | // NewManager instantiates a new Manager instance which coordinates notification enqueuing and delivery. |
| 77 | // |
no outgoing calls