Skip to content

Commit f62edc9

Browse files
committed
Auto-generated commit
1 parent cff7600 commit f62edc9

File tree

4 files changed

+97
-5
lines changed

4 files changed

+97
-5
lines changed

.gitignore

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,12 @@ jsconfig.json
188188
# Other editor files #
189189
######################
190190
.idea/
191-
192-
# Cursor #
193-
##########
191+
.cursor
194192
.cursorignore
193+
.windsurfrules
194+
.clinerules
195+
196+
# AI coding agents #
197+
####################
198+
CLAUDE.md
199+
GEMINI.md

CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,13 @@
44
55
<section class="release" id="unreleased">
66

7-
## Unreleased (2025-09-03)
7+
## Unreleased (2025-09-29)
88

99
<section class="features">
1010

1111
### Features
1212

13+
- [`6b4c40d`](https://github.com/stdlib-js/stdlib/commit/6b4c40ddf5581abcc2a1b33c566455ea57b56bc5) - update `utils/async` TypeScript declarations
1314
- [`18b2372`](https://github.com/stdlib-js/stdlib/commit/18b2372476178bcaa6bd7ddc69396f0e87dc93f2) - add missing exports to namespaces
1415

1516
</section>
@@ -34,6 +35,11 @@ A total of 2 issues were closed in this release:
3435

3536
<details>
3637

38+
- [`d94514b`](https://github.com/stdlib-js/stdlib/commit/d94514bc9418f5b42df6233204d5005d53af00ca) - **docs:** clean-up TSDoc declaration comments _(by Philipp Burckhardt)_
39+
- [`07459d3`](https://github.com/stdlib-js/stdlib/commit/07459d3be48a57aac6cc018cbb456749fad79f6a) - **chore:** remove private annotations _(by Philipp Burckhardt)_
40+
- [`b7c2031`](https://github.com/stdlib-js/stdlib/commit/b7c20312491bdcf54ffc681e5fe489b9ba3d059c) - **docs:** clean-up TSDoc declaration comments _(by Philipp Burckhardt)_
41+
- [`6b4c40d`](https://github.com/stdlib-js/stdlib/commit/6b4c40ddf5581abcc2a1b33c566455ea57b56bc5) - **feat:** update `utils/async` TypeScript declarations _(by Philipp Burckhardt)_
42+
- [`6bb3c64`](https://github.com/stdlib-js/stdlib/commit/6bb3c64c915bb33715e5256fa8073e46b9a4d443) - **docs:** update examples in TSDoc comments in `utils/async` for doctesting _(by Philipp Burckhardt)_
3743
- [`18b2372`](https://github.com/stdlib-js/stdlib/commit/18b2372476178bcaa6bd7ddc69396f0e87dc93f2) - **feat:** add missing exports to namespaces _(by Philipp Burckhardt)_
3844
- [`57b828d`](https://github.com/stdlib-js/stdlib/commit/57b828d10a9b20f3003482557132723a79d27c66) - **chore:** fix JavaScript lint errors [(#8003)](https://github.com/stdlib-js/stdlib/pull/8003) _(by DUDHAT HEMIL PRAVINKUMAR, Athan Reines)_
3945
- [`7add020`](https://github.com/stdlib-js/stdlib/commit/7add0201c13e56a0381926ccfd4073c84eaf2ed4) - **test:** use standardized assertion messages and fix lint errors _(by Philipp Burckhardt)_

CONTRIBUTORS

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Ahmed Khaled <kahmd1444@gmail.com>
2020
Aksshay Balasubramanian <119944779+Aksshay88@users.noreply.github.com>
2121
Aleksandr <112382387+alextes90@users.noreply.github.com>
2222
Ali Salesi <ali_sal1381@yahoo.com>
23-
AlyAbdelmoneim <148393799+AlyAbdelmoneim@users.noreply.github.com>
23+
Aly Abdelmoneim <148393799+AlyAbdelmoneim@users.noreply.github.com>
2424
Aman Bhansali <bhansali.1@iitj.ac.in>
2525
AmanBhadkariya <140033975+AmanBhadkariya@users.noreply.github.com>
2626
Amisha Chhajed <136238836+amishhaa@users.noreply.github.com>
@@ -29,6 +29,7 @@ Anmol Sah <113588714+anmolsah@users.noreply.github.com>
2929
Annamalai Prabu <apfossdev@gmail.com>
3030
Anshu Kumar <132515490+anxhukumar@users.noreply.github.com>
3131
Anshu Kumar <contact.anshukumar@protonmail.com>
32+
Anshuman Singh <109489361+Anshumancanrock@users.noreply.github.com>
3233
Anudeep Sanapala <anudeep0306@gmail.com>
3334
Arihant Pal <arihant0pal@gmail.com>
3435
Aryan Bhirud <112156883+AryanBhirud@users.noreply.github.com>
@@ -66,6 +67,7 @@ Frank Kovacs <fran70kk@gmail.com>
6667
GK Bishnoi <gkishan1kyt@gmail.com>
6768
GURU PRASAD SHARMA <168292003+GURUPRASADSHARMA@users.noreply.github.com>
6869
Gaurav <gaurav70380@gmail.com>
70+
Gaurav Kaushik <144526331+Gauravkaushik-1206@users.noreply.github.com>
6971
Gautam Kaushik <162317291+Kaushikgtm@users.noreply.github.com>
7072
Gautam sharma <gautamkrishnasharma1@gmail.com>
7173
GeoDaoyu <geodaoyu@foxmail.com>
@@ -136,6 +138,7 @@ Nourhan Hasan <109472010+TheNourhan@users.noreply.github.com>
136138
Ognjen Jevremović <ognjenjevremovic@users.noreply.github.com>
137139
Oneday12323 <107678750+Oneday12323@users.noreply.github.com>
138140
Ori Miles <97595296+orimiles5@users.noreply.github.com>
141+
Payal Goswami <payalgoswami9711@gmail.com>
139142
Philipp Burckhardt <pburckhardt@outlook.com>
140143
Pierre Forstmann <15964998+pierreforstmann@users.noreply.github.com>
141144
Pradyumn Prasad <pradyumnprasad.567@gmail.com>
@@ -177,9 +180,11 @@ Sanchay Ketan Sinha <122982233+satansin123@users.noreply.github.com>
177180
Sarthak Paandey <145528240+SarthakPaandey@users.noreply.github.com>
178181
Satyajeet Chavan <chavansatyajeet2004@gmail.com>
179182
Saurabh Singh <saurabhsraghuvanshi@gmail.com>
183+
Seth-Banker <125103042+Seth-Banker@users.noreply.github.com>
180184
Seyyed Parsa Neshaei <spneshaei@users.noreply.github.com>
181185
Shabareesh Shetty <139731143+ShabiShett07@users.noreply.github.com>
182186
Shashank Shekhar Singh <shashankshekharsingh1205@gmail.com>
187+
Shaswata Panda <106397517+shaswata-26@users.noreply.github.com>
183188
Shivam Ahir <11shivam00@gmail.com>
184189
Shivansh <114570926+shiv343@users.noreply.github.com>
185190
Shraddheya Shendre <shendreshraddheya@gmail.com>
@@ -200,6 +205,7 @@ Tirtadwipa Manunggal <tirtadwipa.manunggal@gmail.com>
200205
Tudor Pagu <104032457+tudor-pagu@users.noreply.github.com>
201206
Tufailahmed Bargir <142114244+Tufailahmed-Bargir@users.noreply.github.com>
202207
Tushar Bhardwaj <155543597+TusharBhardwaj441@users.noreply.github.com>
208+
Tyson Cung <45380903+tysoncung@users.noreply.github.com>
203209
Uday Kakade <141299403+udaykakade25@users.noreply.github.com>
204210
Ujjwal Kirti <64329707+ujjwalkirti@users.noreply.github.com>
205211
Utkarsh <http://utkarsh11105@gmail.com>
@@ -217,6 +223,7 @@ Yaswanth Kosuru <116426380+yaswanthkosuru@users.noreply.github.com>
217223
Yernar Yergaziyev <yernar.yergaziyev@erg.kz>
218224
Yugal Kaushik <yugalkaushik14@gmail.com>
219225
Yuvi Mittal <128018763+yuvi-mittal@users.noreply.github.com>
226+
Zuhair Ahmad <157193652+Zuhair-CS@users.noreply.github.com>
220227
deepak427 <62477872+deepak427@users.noreply.github.com>
221228
devshree-bhati <147095250+devshree-bhati@users.noreply.github.com>
222229
ditsu <170345142+ditsus@users.noreply.github.com>

docs/types/index.d.ts

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ import mapKeysAsync = require( '@stdlib/utils-async-map-keys' );
4242
import mapValuesAsync = require( '@stdlib/utils-async-map-values' );
4343
import noneByAsync = require( '@stdlib/utils-async-none-by' );
4444
import noneByRightAsync = require( '@stdlib/utils-async-none-by-right' );
45+
import parallel = require( '@stdlib/utils-async-parallel' );
4546
import reduceAsync = require( '@stdlib/utils-async-reduce' );
4647
import reduceRightAsync = require( '@stdlib/utils-async-reduce-right' );
4748
import waterfall = require( '@stdlib/utils-async-series-waterfall' );
@@ -1112,6 +1113,79 @@ interface Namespace {
11121113
*/
11131114
noneByRightAsync: typeof noneByRightAsync;
11141115

1116+
/**
1117+
* Executes a set of functions in parallel and passes the results of all functions to a provided callback.
1118+
*
1119+
* ## Notes
1120+
*
1121+
* - This function is intended to start asynchronous tasks so that execution of each task runs concurrently. If provided a function which does not perform asynchronous tasks, the function will execute synchronously.
1122+
* - The function executes provided functions in the same thread. Accordingly, the function does **not** spawn new threads.
1123+
*
1124+
* @param fcns - array of functions
1125+
* @param options - function options
1126+
* @param options.thisArg - function context
1127+
* @param options.limit - number of functions to execute concurrently
1128+
* @param clbk - callback to invoke upon completion
1129+
*
1130+
* @example
1131+
* function foo( clbk ) {
1132+
* setTimeout( onTimeout, 300 );
1133+
* function onTimeout() {
1134+
* clbk( null, 'one' );
1135+
* }
1136+
* }
1137+
*
1138+
* function bar( clbk ) {
1139+
* setTimeout( onTimeout, 100 );
1140+
* function onTimeout() {
1141+
* clbk( null, 'two' );
1142+
* }
1143+
* }
1144+
*
1145+
* function done( error, results ) {
1146+
* if ( error ) {
1147+
* throw error;
1148+
* }
1149+
* console.log( results );
1150+
* // => [ 'one', 'two' ]
1151+
* }
1152+
*
1153+
* var fcns = [ foo, bar ];
1154+
*
1155+
* ns.parallel( fcns, done );
1156+
*
1157+
* @example
1158+
* function a( clbk ) {
1159+
* setTimeout( onTimeout, 0 );
1160+
* function onTimeout() {
1161+
* clbk( null, 2 );
1162+
* }
1163+
* }
1164+
*
1165+
* function b( clbk ) {
1166+
* setTimeout( onTimeout, 0 );
1167+
* function onTimeout() {
1168+
* clbk( null, 4 );
1169+
* }
1170+
* }
1171+
*
1172+
* function done( error, out ) {
1173+
* if ( error ) {
1174+
* throw error;
1175+
* }
1176+
* console.log( out );
1177+
* // => [ 2, 4 ]
1178+
* }
1179+
*
1180+
* var fcns = [ a, b ];
1181+
* var run = ns.parallel.factory( fcns );
1182+
*
1183+
* // ...
1184+
*
1185+
* run( done );
1186+
*/
1187+
parallel: typeof parallel;
1188+
11151189
/**
11161190
* Applies a function against an accumulator and each element in a collection and return the accumulated result.
11171191
*

0 commit comments

Comments
 (0)