incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Filip Maj <...@adobe.com>
Subject [JS] channel.js pub/sub/unsub question
Date Wed, 30 May 2012 21:54:55 GMT
Trying to answer a question regarding our pub/sub implementation in
cordova-js. Need to fill in some tests before I pull the patch in.

Question: if I have an event handler function, and I `subscribe` it to an
event (channel) x times, when that channel fires, should I expect it to
fire x times, or only once?

Root issue: https://issues.apache.org/jira/browse/CB-829

Pull request from GH to patch:
https://github.com/apache/incubator-cordova-js/pull/14

Thanks for the input,
Fil


Mime
View raw message