MCPcopy Create free account
hub / github.com/CPChain/chain / wasUnsubCallbackCalled

Method wasUnsubCallbackCalled

api/rpc/subscription_test.go:41–45  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

39}
40
41func (s *NotificationTestService) wasUnsubCallbackCalled() bool {
42 s.mu.Lock()
43 defer s.mu.Unlock()
44 return s.unsubscribed
45}
46
47func (s *NotificationTestService) Unsubscribe(subid string) {
48 s.mu.Lock()

Callers 1

TestNotificationsFunction · 0.95

Calls 2

LockMethod · 0.80
UnlockMethod · 0.80

Tested by

no test coverage detected