3 ms·
Agreed. I think there's a bit of LOC-golfing at work here. That loop is more nicely written as: for {handler, context} in @events[topic] handler.appl
by jashkenas 15y ago
Agreed. I think there's a bit of LOC-golfing at work here. That loop is more nicely written as:
for {handler, context} in @events[topic]
handler.apply context, args