This is it: *fs.readSync* You need to use *fs.read* read a bit on streams, you will be able to use the Throttle package. Try: http://nodeschool.io/
On Fri, Jan 31, 2014 at 9:51 AM, Rodrive <[email protected]> wrote: > Actually i think i understand what you mean. Synchronous is when i dont > use a callback function, then the code is "blocking" the code following > right? > > Le vendredi 31 janvier 2014 05:15:57 UTC+1, Rodrive a écrit : > >> I am just starting to dev with node, i dont really understand the notion >> of async and sync APIs. >> >> Try my module node-throttle! >> https://github.com/TooTallNate/node-throttle<https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2FTooTallNate%2Fnode-throttle&sa=D&sntz=1&usg=AFQjCNH7XhLFPynF0-GZMPI6SCUS0UfYnw> >> >> >> I made some research before doing my own code, and i found your module >> but i didnt succeed to use it. Since i'm more "skill" i will try again. >> >> Thx all for your aswers. >> > -- > -- > 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/groups/opt_out. > -- Arunoda Susiripala @arunoda <http://twitter.com/arunoda> <http://gplus.to/arunoda>https://github.com/arunoda http://www.linkedin.com/in/arunoda -- -- 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/groups/opt_out.
