Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

T8 #1047

Merged
merged 16 commits into from
Jul 7, 2024
Merged

T8 #1047

merged 16 commits into from
Jul 7, 2024

Conversation

This commit adds the 'listFilesRecursive' flag to the '__flags' object in the 'openaf.js' file. This flag enables the recursive listing of files when using the 'listFilesRecursive' function. The flag is set to 'true' to enable the feature.

Refactor the 'listFilesRecursive' function to handle parallel processing

This commit refactors the 'listFilesRecursive' function in the 'openaf.js' file to handle parallel processing when the 'ALTERNATIVES.listFilesRecursive' flag is set to 'true' in the '__flags' object. The function now uses the 'ow.obj.syncArray' and 'ow.obj.syncMap' classes from the 'ow' library to ensure thread-safe operations. Additionally, an error handling function 'aFnErr' is added as an optional parameter to handle errors during processing.
@nmaguiar nmaguiar self-assigned this Jul 7, 2024
@nmaguiar nmaguiar merged commit d13d882 into master Jul 7, 2024
1 check passed
@nmaguiar nmaguiar deleted the t8 branch July 7, 2024 02:10
@nmaguiar nmaguiar restored the t8 branch July 7, 2024 02:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging this pull request may close these issues.

1 participant