/
var
/
www
/
verywell.gr
/
server
/
delivery
/
node_modules
/
ext
/
docs
/
promise
/
/var/www/verywell.gr/server/delivery/node_modules/ext/docs/promise
mkdir
upload
Name
Size
Mode
Actions
limit.md
409
0644
edit
dl
rm
Edit:
/var/www/verywell.gr/server/delivery/node_modules/ext/docs/promise/limit.md
(409B)
# `Promise.limit` _(ext/promise/limit)_ Helps to limit concurrency of asynchronous operations. ```javascript const limit = require("ext/promise/limit").bind(Promise); const limittedAsyncFunction = limit(2, asyncFunction); imittedAsyncFunction(); // Async operation started imittedAsyncFunction(); // Async operation started imittedAsyncFunction(); // On hold until one of previously started finalizes ```
Save
cmd:
run