[Twisted-Python] regarding callbacks.

Ivan Kozik ivan at ludios.org
Mon Apr 30 17:01:22 MDT 2012


On Mon, Apr 30, 2012 at 20:45, Jasper St. Pierre <jstpierre at mecheye.net> wrote:
> Right now, you could implement inlineCallbacks in Mozilla JavaScript.

A few years ago, I confirmed that this actually works:

http://ludios.org/js-inlineCallbacks-POC/

(though the above is inconvenient to use because it relied on my fork
of Divmod's JS).

I think there has been similar work in the node.js world.  I recall
some node.js forks that run on SpiderMonkey just so that they can use
its `yield`.

Ivan




More information about the Twisted-Python mailing list