MCPcopy Index your code
hub / github.com/coder/coder / testWebpushDispatcher

Struct testWebpushDispatcher

coderd/webpush_test.go:177–182  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected