Emitter super simple class
Events will be prefixed with the given namespace plus a . so: {namespace}.myevent
namespace
.
{namespace}.myevent
Adapted from https://github.com/developit/mitt
Regarding typescript support see:
Invoke all handlers for the given type.
Optional
Register an event handler for the given type.
Emitter super simple class
Events will be prefixed with the given
namespaceplus a.so:{namespace}.myeventAdapted from https://github.com/developit/mitt
Regarding typescript support see: