Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Subscriber ¶
type Subscriber interface {
Push(val ...events.Event)
Skip() <-chan struct{}
Closed() <-chan struct{}
C() chan<- []events.Event
Types() []events.Type
SetID(id int)
ID() int
Ack() bool
}
Subscriber interface allows pushing values to subscribers, can be set to a Skip state (temporarily not receiving any events), or closed. Otherwise events are pushed.
Click to show internal directories.
Click to hide internal directories.