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

Method deliver

api/rpc/client.go:771–778  ·  view source on GitHub ↗
(result json.RawMessage)

Source from the content-addressed store, hash-verified

769}
770
771func (sub *ClientSubscription) deliver(result json.RawMessage) (ok bool) {
772 select {
773 case sub.in <- result:
774 return true
775 case <-sub.quit:
776 return false
777 }
778}
779
780func (sub *ClientSubscription) start() {
781 sub.quitWithError(sub.forward())

Callers 2

handleNotificationMethod · 0.45
deliverFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected