首页 > promise如何返回最快执行完的请求
我知道promise.all是等待所有请求执行完再返回,如果我希望返回最快执行完的请求,应该用promise.???
promise.race http://liubin.org/promises-book/#ch2-promise-race