I've been looking at the node documentation quite a bit lately and I wish it were more straightforward. I have a question regarding events that a lot of objects have.
for example, the Socket class has these events listed (http://nodejs.org/api/net.html) Event: 'lookup' Event: 'connect' Event: 'data' etc based on tutorials i've seen, i know some of these events send along a parameter. for example, the 'data' event passes a data object to your event hander with info about the data event. my question/problem is that the documentation doesn't explain how these events are supposed to be implemented, what parameters your event handler should take, etc. are there better resources about this? is the pattern in the html documentation being that the bullet-pointed bits on an event are objects in your event handler? -- Job board: http://jobs.nodejs.org/ New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md Old group rules: 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 unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/7a10210d-51ce-40bd-8d48-a82bfb0a475d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
