Yeah, we're not going to resurrect require.async. It's very tricky to get right, and not beneficial in the vast majority of use cases.
Load all your modules up front. On Tue, May 15, 2012 at 6:26 PM, Mikeal Rogers <[email protected]> wrote: > Yeah, don't do that :) > > On May 15, 2012, at May 15, 20126:09 PM, Mark Hahn wrote: > >> it's much better to be able to assume that a handler on nextTick() will >> be run after the full setup phase and that more required loading is will not >> happen after. > > Many times you cannot assume that. My app often loads a module when already > up and running. When I am doing that I *really* hate blocking my entire > app. Making that assumption kills a dynamic feature of the module system > that the current api overlooks. > > > -- > 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 > > > -- > 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 -- 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
