pfraze/scuttlebot — pull request #18 by dominictarr (2014-11-24 12:25:03+00:00)
Title: simplify events pull request

This pull request adds to your pull request https://github.com/pfraze/scuttlebot/issues/16

Mainly, the custom scheduler is removed, i was about to refactor that code out into it's own thing not coupled to scuttlebot, but then I realized that you already wrote multicb which basically does the same thing - reference counting. of course, this removes timeouts - but as discussed here https://github.com/pfraze/scuttlebot/issues/17#issuecomment-64141192 it's not strictly necessary - at least, we should add it to multicb if we actually need it for something specific later.

Also note that this does not end the tasks when it's in server mode - you only know when you are in server mode after authing. Currently this just checks if authing with the client has failed.