endeavour/FunScript — pull request #2 by tpetricek (2012-12-15 03:54:05+00:00)
Title: Adding very primitive StackOverflow protection

This implements primitive SO protection in asyncs. The context that is passed around keeps the number of times `protectedCont` has been called and every 1000th call is done via `setTimeout` to discard the current stack.