MCPcopy
hub / github.com/benbjohnson/wtf / Subscription

Interface Subscription

event.go:68–74  ·  view source on GitHub ↗

Subscription represents a stream of events for a single user.

Source from the content-addressed store, hash-verified

66
67// Subscription represents a stream of events for a single user.
68type Subscription interface {
69 // Event stream for all user's event.
70 C() <-chan Event
71
72 // Closes the event stream channel and disconnects from the event service.
73 Close() error
74}

Callers 10

handleEventsMethod · 0.65
TestEventServiceFunction · 0.65
FindDialByIDMethod · 0.65
FindDialsMethod · 0.65
CreateDialMethod · 0.65
DeleteDialMethod · 0.65
parseResponseErrorFunction · 0.65
MustCloseServerFunction · 0.65
handleEventsMethod · 0.65

Implementers 2

Subscriptioninmem/event.go
Subscriptionmock/event.go

Calls

no outgoing calls

Tested by

no test coverage detected