projects
/
mkws-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2109e00
)
makePz2() now sets the onStat callback if any of the "stat",
author
Mike Taylor
<mike@indexdata.com>
Wed, 3 Dec 2014 14:24:50 +0000
(14:24 +0000)
committer
Mike Taylor
<mike@indexdata.com>
Wed, 3 Dec 2014 14:24:50 +0000
(14:24 +0000)
"firstrecords" or "complete" events is subscribed, since that callback
will publish to all of those events.
src/mkws-team.js
patch
|
blob
|
history
diff --git
a/src/mkws-team.js
b/src/mkws-team.js
index
54fcfd8
..
e4645b2
100644
(file)
--- a/
src/mkws-team.js
+++ b/
src/mkws-team.js
@@
-173,7
+173,7
@@
mkws.makeTeam = function($, teamName) {
params.onbytarget = onBytarget;
that.info("setting bytarget callback");
}
- if (m_queues.stat) {
+ if (m_queues.stat || m_queues.firstrecords || m_queues.complete) {
params.onstat = onStat;
that.info("setting stat callback");
}