intern
intern copied to clipboard
Move event emitter code out of Executor
Internal code that needs to emit events shouldn't need to go through Executor to do it. Executor should still provide emit
for external consumers, but internal code should be able to import an event
module to register for and send events.