This PR is currently work in progress. It's a PoC.
I made ProcessSlice function async by adding goroutines and wait groups. The logic has changed a little. Now that we are processing all elements at the same time, we can't stop execution when one of the handler return false.
Collections_async_test is copy of the collections_test. It's gradually updated as new functions added to collections_async.
Currently all tests passes. Future commits will also ensure that.
This PR is currently work in progress. It's a PoC.
I made ProcessSlice function async by adding goroutines and wait groups. The logic has changed a little. Now that we are processing all elements at the same time, we can't stop execution when one of the
handler
return false.Collections_async_test is copy of the collections_test. It's gradually updated as new functions added to collections_async.
Currently all tests passes. Future commits will also ensure that.