Knowing when a node is done - new node API

@Hypnos thanks for reporting. Yes, you've found a problem with the recommended approach for migrating to the new api whilst keeping it backward compatible. I'm now curious as to why I didn't spot that in my testing.

The proper workaround is:

send = send || function() { node.send.apply(node,arguments) };
1 Like