MCPcopy Create free account
hub / github.com/dank/rlapi / Events

Method Events

psynetrpc.go:315–317  ·  view source on GitHub ↗

Events returns a channel that receives raw messages and connection events

()

Source from the content-addressed store, hash-verified

313
314// Events returns a channel that receives raw messages and connection events
315func (p *PsyNetRPC) Events() <-chan *Event {
316 return p.eventCh
317}
318
319func (p *PsyNetRPC) sendEvent(eventType EventType, content string) {
320 select {

Callers 1

TestPsyNetRPC_RawMessageFunction · 0.80

Calls

no outgoing calls

Tested by 1

TestPsyNetRPC_RawMessageFunction · 0.64