You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-[`18b2372`](https://github.com/stdlib-js/stdlib/commit/18b2372476178bcaa6bd7ddc69396f0e87dc93f2) - add missing exports to namespaces
14
15
15
16
</section>
@@ -34,6 +35,11 @@ A total of 2 issues were closed in this release:
34
35
35
36
<details>
36
37
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)_
37
43
-[`18b2372`](https://github.com/stdlib-js/stdlib/commit/18b2372476178bcaa6bd7ddc69396f0e87dc93f2) - **feat:** add missing exports to namespaces _(by Philipp Burckhardt)_
-[`7add020`](https://github.com/stdlib-js/stdlib/commit/7add0201c13e56a0381926ccfd4073c84eaf2ed4) - **test:** use standardized assertion messages and fix lint errors _(by Philipp Burckhardt)_
* 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: typeofparallel;
1188
+
1115
1189
/**
1116
1190
* Applies a function against an accumulator and each element in a collection and return the accumulated result.
0 commit comments