This topic created in 2467 days ago, the information mentioned may be changed or developed.
做下载的,我需要一个一个任务下载,不要并行。我调用的是 exe 去下载,是不是要用 child_proess
5 replies • 2020-02-08 14:54:20 +08:00
 |
|
async/await
|
 |
|
const dl = require('dl-vampire') for(){ await dl({ url, file }) }
|
 |
|
要看你怎么调用 exe,本来就是阻塞调用普通的 for 循环就是了。
|