Thats the difference. Its actually possible to promisify the api without to 
loose backwards compatibility. Overhead is acceptable.

> On Apr 30, 2014, at 6:31 AM, Oleg Slobodskoi <[email protected]> wrote:
>> 
>> Probably I missed this discussion. Now as Promises becoming a standard, what 
>> is the reason to not to support both, callback style and promises in the 
>> core?
>> 
>> What I am looking for is a lib which can be required as a very first module 
>> and will wrap every async node core function into a function which accepts 
>> node style callbacks and returns Promise when no callback is passed.
>> 
>> If there is no such thing, are there people who would use it?
>> 
> 
> Q's node specific wrappers work for me. I'd have to wrap each node callback 
> style call myself, but it's easy enough.
> 
>       --ravi
> 
> 
> 
> -- 
> -- 
> 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/d/optout.

-- 
-- 
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/d/optout.

Reply via email to