square/cube — pull request #74 by gravitezero (2012-06-22 09:06:44+00:00)
Title: Stream feature for metric

Finally, I finish the stream feature for metric as well.
The design is quite different from events.
It was too complicated to share the polling loop, so there is one loop for each client.
A better solution can surely be found, but I don't understand cube enough nor have time to implement it for the moment.

And also, when a callback is closed, I call callback.onClose : a function that will delete the polling loop associated with the callback.