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

Method CreateNotification

api/rpc/types.go:110–110  ·  view source on GitHub ↗

Create notification response

(id, namespace string, event interface{})

Source from the content-addressed store, hash-verified

108 CreateErrorResponseWithInfo(id interface{}, err Error, info interface{}) interface{}
109 // Create notification response
110 CreateNotification(id, namespace string, event interface{}) interface{}
111 // Write msg to client.
112 Write(msg interface{}) error
113 // Close underlying data stream

Callers 1

NotifyMethod · 0.65

Implementers 1

jsonCodecapi/rpc/json.go

Calls

no outgoing calls

Tested by

no test coverage detected