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

Function InboxNotificationForOwnerEventChannel

coderd/pubsub/inboxnotification.go:14–16  ·  view source on GitHub ↗
(ownerID uuid.UUID)

Source from the content-addressed store, hash-verified

12)
13
14func InboxNotificationForOwnerEventChannel(ownerID uuid.UUID) string {
15 return fmt.Sprintf("inbox_notification:owner:%s", ownerID)
16}
17
18func HandleInboxNotificationEvent(cb func(ctx context.Context, payload InboxNotificationEvent, err error)) func(ctx context.Context, message []byte, err error) {
19 return func(ctx context.Context, message []byte, err error) {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected