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

Method Closed

api/rpc/subscription.go:106–108  ·  view source on GitHub ↗

Closed returns a channel that is closed when the RPC connection is closed.

()

Source from the content-addressed store, hash-verified

104
105// Closed returns a channel that is closed when the RPC connection is closed.
106func (n *Notifier) Closed() <-chan interface{} {
107 return n.codec.Closed()
108}
109
110// unsubscribe a subscription.
111// If the subscription could not be found ErrSubscriptionNotFound is returned.

Callers

nothing calls this directly

Calls 1

ClosedMethod · 0.65

Tested by

no test coverage detected