Skip to content
This repository has been archived by the owner on Sep 6, 2020. It is now read-only.

allow variable number of arguments to 'emit' function #14

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rolinh
Copy link

@rolinh rolinh commented Sep 7, 2015

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant