Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Emitter ¶
type Emitter struct {
// contains filtered or unexported fields
}
Emitter allows communication between multiple producers and listeners.
func NewEmitter ¶
func NewEmitter() *Emitter
func (*Emitter) Send ¶
Send allows goroutines to send messages over the emitter. Non-blocking sends are ensured.
func (*Emitter) Unsubscribe ¶
Click to show internal directories.
Click to hide internal directories.