Options used for constructing Emitters
A list of allowed events
An optional callback that is registered with the Stream during creation when event is specified.
event
Stream.on for details
An event that is registered with the Stream during creation.
Stream.on for details. If no event is specified the stream will be created without any pre-registered events.
The listeners object mapping event names to arrays of callback functions. Must be specified if a stream is provided.
stream
Set up the emitter with an existing stream
Options used for constructing Emitters