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

Function newAcquireSignalingInterceptor

coderd/notifications/notifications_test.go:2282–2287  ·  view source on GitHub ↗
(db notifications.Store)

Source from the content-addressed store, hash-verified

2280}
2281
2282func newAcquireSignalingInterceptor(db notifications.Store) *acquireSignalingInterceptor {
2283 return &acquireSignalingInterceptor{
2284 Store: db,
2285 acquiredChan: make(chan struct{}, 1),
2286 }
2287}
2288
2289func (n *acquireSignalingInterceptor) AcquireNotificationMessages(ctx context.Context, params database.AcquireNotificationMessagesParams) ([]database.AcquireNotificationMessagesRow, error) {
2290 messages, err := n.Store.AcquireNotificationMessages(ctx, params)

Callers 1

newNoopStoreSyncerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected