Skip to content

Commit cf0419f

Browse files
committed
Remove unused method
1 parent c768f4f commit cf0419f

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

modules/AsyncUtils.js

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -55,22 +55,3 @@ export function mapAsync(array, work, callback) {
5555
});
5656
});
5757
}
58-
59-
export function hashAsync(object, work, callback) {
60-
var keys = Object.keys(object);
61-
62-
mapAsync(keys, function (key, index, callback) {
63-
work(object[key], callback);
64-
}, function (error, valuesArray) {
65-
if (error) {
66-
callback(error);
67-
} else {
68-
var values = valuesArray.reduce(function (memo, results, index) {
69-
memo[keys[index]] = results;
70-
return memo;
71-
}, {});
72-
73-
callback(null, values);
74-
}
75-
});
76-
}

0 commit comments

Comments
 (0)