promise_mtd
Advanced tools
Comparing version 0.0.3 to 0.0.4
{ | ||
"name": "promise_mtd", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "Set of methods allowing simplify work with Promises in cycle. Methods: forEach, map, while, transform, parallel", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
# promise_mtd | ||
Set of methods allowing to simplify work with promises in cycle. | ||
Implementation of ```forEach``` and ```map``` for working with array data when it's needed to apply asynchronous function to each element. | ||
Method ```transform``` allows asynchronous iterations over an array such as ```map```, but also it can skip unnecessary data. | ||
Method ```transform``` allows asynchronously iterate over an array such as ```map```, but also it can skip unnecessary data. | ||
Implementation of cycle ```while``` for using with promise. | ||
@@ -6,0 +6,0 @@ Method ```parallel``` allows to run concurrently promises such as method ```Promise.all```, but with limit. |
8230