Skip to main content
16 events
when toggle format what by license comment
Mar 1, 2015 at 13:14 vote accept MIDE11
Feb 24, 2015 at 12:18 answer added slebetman timeline score: 0
Feb 24, 2015 at 12:17 comment added Bergi @MiddleWare: Except you control the order properly, e.g. using promises or async.js. Please have a look at my answer.
Feb 24, 2015 at 12:14 comment added MIDE11 @Bergi: I will give example. I have file_1 and file_2. I need to append it in this order: file_1::file_2. Now, If I will use async method, the file can be append in wrong order (file_2::file_1), due to the fact I don't know when it will be executed.
Feb 24, 2015 at 12:10 comment added Bergi @MiddleWare: What do you mean, you cannot use asynchronous methods? To make it non-blocking, you need to use the asynchronous methods!
Feb 24, 2015 at 12:07 comment added MIDE11 @adeneo: I can't use asynchronous methods for this purpose. I edit the question.
Feb 24, 2015 at 12:06 comment added MIDE11 @Bergi: I edit the question and explain what wrong with my solution.
Feb 24, 2015 at 12:02 history edited MIDE11 CC BY-SA 3.0
added 480 characters in body
Feb 23, 2015 at 21:04 comment added eguneys similar: stackoverflow.com/questions/28087624/…
Feb 23, 2015 at 20:03 comment added JLRishe You seem to have a stray ) there. Does this code even run?
Feb 23, 2015 at 20:02 history edited JLRishe CC BY-SA 3.0
deleted 32 characters in body
Feb 23, 2015 at 20:02 answer added Prisoner timeline score: 0
Feb 23, 2015 at 20:01 comment added Bergi If you want to make it asynchronous, do you really want to open 1000 files in parallel? Or do you want them to execute sequentially? If so, what's wrong with the solution that you already have?
Feb 23, 2015 at 20:00 answer added Bergi timeline score: 1
Feb 23, 2015 at 19:59 comment added adeneo It's synchronous because you're using the synchronous methods. If you want to make it async, read the documentation and use the asynchronous methods instead.
Feb 23, 2015 at 19:56 history asked MIDE11 CC BY-SA 3.0