feat: implement TryParallel operator
- Implements TryParallel struct for parallel execution of operations with error handling
- Uses futures::try_join! for concurrent execution
- Adds tests for success and error cases
- Supports nested parallel operations
Resolves TODO in try_op.rs
Hey @crStiv , thanks for the contribution! I had completely forgotten about that TODO :sweat_smile:
FYI there is already a try_parallel! macro (see this test) which works similarly to the parallel! macro.
I'll still approve this since for regular parallel operations we have both an op Parallel and macro parallel! so it makes sense to have both as well for try_parallel.
Cheers!
Hey @crStiv , thanks for the contribution! I had completely forgotten about that TODO 😅
FYI there is already a
try_parallel!macro (see this test) which works similarly to theparallel!macro.I'll still approve this since for regular parallel operations we have both an op
Paralleland macroparallel!so it makes sense to have both as well fortry_parallel.Cheers!
oh, yeah I see now, interesting...
anyway, it was a pleasure to help you!
btw when you'll have time, please merge it
@crStiv just need to pass the fmt check (run cargo fmt) and then we can merge, cheers!
@crStiv it seems like the last commit you've pushed hasn't fixed the cargo fmt issue, can you also rebase w/ main so that this is up to date!