Comment on (fab) - A pure javascript DSL for building async web appsparentComments−malvim16yI had taken a look at it before, and was wondering: Is there a way we can do long-polling stuff with fab?(by "long-polling stuff" I mean deferring response.finish())−tr4nslatorOP16yIndeed you can. (fab) is 100% async:http://gist.github.com/287475#file_hello_async.js−malvim16yOoh, that's pretty cool. I like the way you receive a "respond" function and call it when you're done. Nice work!
Comments
I had taken a look at it before, and was wondering: Is there a way we can do long-polling stuff with fab?
(by "long-polling stuff" I mean deferring response.finish())
Indeed you can. (fab) is 100% async:
http://gist.github.com/287475#file_hello_async.js
Ooh, that's pretty cool. I like the way you receive a "respond" function and call it when you're done. Nice work!