Service to allow components to communicate with eachother through events
Listen for a web event and execute a function when it occurs
Type used for the event data
Kind of web event to listen for
Function to call when the web event occurs. Will get the event data as an argument.
Dispatch a web event
Kind of web event to dispatch
Optional
Event data to send along with the dispatch
Service to allow components to communicate with eachother through events