Asynchronously emit event an event based on the arguments length.
Iterface for worker_threads as socket.io (emit/on)
Emits an event on an EventEmitter where the listener may include a callback function