Current implementation does not respect emit function prototype. There are cases where one does not want to send data nor use a callback function, etc.
This change allows variable number of arguments to the emit function.
Note that this is not a breaking change as if arguments name, data, callback are given, they are still processed the same way they used to.
Current implementation does not respect
emit
function prototype. There are cases where one does not want to send data nor use a callback function, etc. This change allows variable number of arguments to theemit
function. Note that this is not a breaking change as if argumentsname, data, callback
are given, they are still processed the same way they used to.