ng-socket icon indicating copy to clipboard operation
ng-socket copied to clipboard

allow variable number of arguments to 'emit' function

Open rolinh opened this issue 10 years ago • 0 comments

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.

rolinh avatar Sep 07 '15 12:09 rolinh