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

Function newRacyPubsub

coderd/database/pubsub/pubsub_linux_test.go:385–387  ·  view source on GitHub ↗
(ps pubsub.Pubsub)

Source from the content-addressed store, hash-verified

383}
384
385func newRacyPubsub(ps pubsub.Pubsub) *racyPubsub {
386 return &racyPubsub{ps}
387}
388
389func (s *racyPubsub) Subscribe(event string, listener pubsub.Listener) (cancel func(), err error) {
390 return s.Pubsub.Subscribe(event, listener)

Callers 1

TestMeasureLatencyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected