This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* 并行异步队列 | |
* 首次上传时占用最大的并行请求数 | |
* 后续当每个之前的请求结束后,继续执行下一个请求 | |
* 应用场景:分片文件上传 | |
* | |
*/ | |
class WraperTask { | |
task; | |
finished; |