@zwa73/utils 1.0.161 → 1.0.162
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/UtilClass.js +1 -1
- package/package.json +1 -1
- package/src/UtilClass.ts +1 -1
package/dist/UtilClass.js
CHANGED
package/package.json
CHANGED
package/src/UtilClass.ts
CHANGED
|
@@ -109,7 +109,7 @@ export class Stream<T> implements Iterable<T>{
|
|
|
109
109
|
*/
|
|
110
110
|
each(operation: StreamOperation<T, void>): Stream<T> {
|
|
111
111
|
const opera = async (item: T) => {
|
|
112
|
-
operation(item);
|
|
112
|
+
await operation(item);
|
|
113
113
|
return item;
|
|
114
114
|
};
|
|
115
115
|
return this.trans(opera);;
|