I'm trying to implement an event system.
Node subscribes to Redis channel, receives message and calls non-existent method in object.
Complete code is here. Simple.
http://pastebin.com/8XnbaepE
Why error is not thrown?
I don't understand this behaviour.
Another strange problem is that after first time publishing message to channel next times when different channel and payload passed, the function arguments are old one.
What am I missing?