News for hackers. Stuff that matters.
Re:JavaScript: It’s Not Just for Browsers Any More by simonw on Saturday March 06, 2010 @09:25AM (#1171562)
It depends on the promise library implementation - most will let you specify an "errback" (like a callback, but called if there is an error) and will trigger that if any of their children fail. Alternatively, some may let you specify a timeout and call your errback if that time elapses without all of the children finishing.

There are no comments on this comment yet.