Hi Michael,

in node, `require` is synchronous, so you don't have to wait for any event.

Bence
:wq


On 18 May 2014 23:20, Michael DeMond <[email protected]> wrote:
> Hello Community,
>
> Total Node newb here. :)  I just started a few weeks ago and have been
> learning it.  I am curious if there is an equivalent to a window.onload
> event handler in NodeJS.  Essentially, I am looking to execute a delegate
> when all of the code in my NodeJS application has loaded.
>
> Thank you for any assistance you can lend,
> Michael
>
> --
> 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/d3f86cea-2079-4c89-9a46-bba931f2850a%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
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/CAK%2BFb5sPF-e9RJLLTew14tTX8vcausk3fGGzPBRKDEjz4RBMpw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to