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

Method SubscribeWithErr

coderd/database/pubsub/psmock/psmock.go:87–93  ·  view source on GitHub ↗

SubscribeWithErr mocks base method.

(event string, listener pubsub.ListenerWithErr)

Source from the content-addressed store, hash-verified

85
86// SubscribeWithErr mocks base method.
87func (m *MockPubsub) SubscribeWithErr(event string, listener pubsub.ListenerWithErr) (func(), error) {
88 m.ctrl.T.Helper()
89 ret := m.ctrl.Call(m, "SubscribeWithErr", event, listener)
90 ret0, _ := ret[0].(func())
91 ret1, _ := ret[1].(error)
92 return ret0, ret1
93}
94
95// SubscribeWithErr indicates an expected call of SubscribeWithErr.
96func (mr *MockPubsubMockRecorder) SubscribeWithErr(event, listener any) *gomock.Call {

Callers

nothing calls this directly

Calls 2

CallMethod · 0.80
HelperMethod · 0.65

Tested by

no test coverage detected