WithHandlers allows for tests to inject their own handlers to verify functionality.
(reg map[database.NotificationMethod]Handler)
| 132 | |
| 133 | // WithHandlers allows for tests to inject their own handlers to verify functionality. |
| 134 | func (m *Manager) WithHandlers(reg map[database.NotificationMethod]Handler) { |
| 135 | m.handlers = reg |
| 136 | } |
| 137 | |
| 138 | var ErrManagerAlreadyClosed = xerrors.New("manager already closed") |
| 139 |
no outgoing calls