Options used for constructing Emitters
A list of allowed events
An optional callback that is registered with the Stream during
event is specified.
An event that is registered with the Stream during creation.
The listeners object mapping event names to arrays of callback functions.
Must be specified if a
stream is provided.
Set up the emitter with an existing stream