| 175 | } |
| 176 | |
| 177 | type testWebpushDispatcher struct { |
| 178 | testCalls atomic.Int32 |
| 179 | dispatchCalls atomic.Int32 |
| 180 | invalidateUserIDs []uuid.UUID |
| 181 | invalidateUserLock sync.Mutex |
| 182 | } |
| 183 | |
| 184 | func (d *testWebpushDispatcher) Dispatch(_ context.Context, _ uuid.UUID, _ codersdk.WebpushMessage) error { |
| 185 | d.dispatchCalls.Add(1) |
nothing calls this directly
no outgoing calls
no test coverage detected