Creates a new dispatch for the specified event types. Each type is a string, such as "start" or "end".
Rest
The event types.
"illegal type" on empty string or duplicated event types.
Creates a new dispatch for the specified event types. Each type is a string, such as "start" or "end".