On Thu, May 31, 2012 at 3:39 PM, Oliver Leics <[email protected]>wrote:

> You can repeat that "it's a synchronous function" argument as long as
> you want, for me it is an inconsistency that the callback of
> http.createServer gets no error argument (even if rarely or never
> used)
>

The point is that it's not a callback. It's a shortcut for adding a request
event listener.

https://github.com/joyent/node/blob/f721d02c8a356c1a9a40d8bf7099186749f01978/lib/http.js#L1607

-- 
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

Reply via email to