News for hackers. Stuff that matters.
Re:StratifiedJS: Javascript + structured concurrency by afri on Wednesday February 01, 2012 @11:03AM (#3538472)
Ah, this is one of the clever bits of StratifiedJS which differentiates it from a lot of the other async extensions out there.

In the case you describe the CNN request will automatically be cancelled by honoring any try/finally or try/retract clauses in the http.get function. (try/retract is a new SJS thing). To see how cancellation/retraction works check out the slides starting at http://onilabs.com/presentations/ugent/cancellation.html .

There are no comments on this comment yet.