Feature request: Don't call if group size is 0
Opened this issue · 1 comments
jeffchan commented
group.now.distribute(msg);
throws a reference error when group size is zero, which leads to this rather annoying fix:
group.count(function(num) {
if (num > 0) {
group.now.distribute(msg);
}
});
I propose that the RPCs simply get skipped if group size is 0.
steveWang commented
I can't reproduce this.