package
Version:
v0.0.0-...-1c835c1
Opens a new window with list of versions in this module.
Published: Mar 8, 2019
License: BSD-3-Clause
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
¶
func Dispatch(action interface{})
Dispatch dispatches the given action to all registered callbacks.
Unregister unregisters the callback previously registered via a call to
Register.
ID is a unique identifier representing a registered callback function.
func Register(callback func(action interface{})) ID
Register registers the callback to handle dispatched actions, the returned
ID may be used to unregister the callback later.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.