Just in case you did'nt know, there's a library like this already 

  gameclosure/ff


On Friday, May 3, 2013 5:09:17 PM UTC-7, Jean Hugues Robert wrote:
>
> Hi,
>
> Those interested in the current tension about Callbacks vs Promises may 
> want to have a look a some code I wrote to help solve this issue.
>
> Basically, Paroles let you write something like this: "var read = 
> Parole(); fs.readFile( f, "utf8", read ); read.then( ..., ... );"
>
> Promise/A+ compliant.
>
> Some convenience methods are also provided to implement promises made of 
> steps (creationix/step style).
>
> See https://github.com/JeanHuguesRobert/l8/wiki/AboutParoles
>
> Feedbacks are welcome :)
>
> Yours,
>
>     Jean Hugues Robert, aka @jhr
>
>

-- 
-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to