Adds a subscribeAll() method to the client to handle any events #112

Merged
merged 1 commit into from Jun 28, 2016

Projects

None yet

3 participants

@AndrewRayCode
Contributor

Usage:

client.subscribeAll(function(message) {
    console.log(message.action);
});

Only accepts one handler and will overwrite any previously existing
handlers. Addresses #111

@AndrewRayCode AndrewRayCode Adds a subscribeAll() method to the client to handle any events
Usage:

    client.subscribeAll(function(message) {
        console.log(message.action);
    });

Only accepts one handler and will overwrite any previously existing
handlers. Addresses #111
09ba503
@coveralls
coveralls commented Jun 28, 2016 edited

Coverage Status

Coverage increased (+2.1%) to 76.056% when pulling 09ba503 on DelvarWorld:subscribe-all into 46cbc22 on glenjamin:master.

@glenjamin glenjamin merged commit b6e41b2 into glenjamin:master Jun 28, 2016

2 checks passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
coverage/coveralls Coverage increased (+2.1%) to 76.056%
Details
@AndrewRayCode
Contributor

Sweet! Do you have any thoughts on the next version release? I'd like to use this in a little side project

@glenjamin
Owner

Will likely cut a release in the morning UK time

@glenjamin
Owner

Released as 2.12.0 - also answered that question on SO.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment