package
Version:
v0.2.3
Opens a new window with list of versions in this module.
Published: May 21, 2019
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Signal represents a signal that can be sent out on many channels at once.
NewSignal creates a new signal.
func (s *Signal) Signal(data interface{})
Signal sends a signal to the watchers.
func (s *Signal) Watch() chan interface{}
Watch watches for a signal to be fired.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.