Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The issue with Approach1 is that it forces execution of the following operators and may lead to incorrect results for variables that are directly or indirectly mutated. Also, the performance impact will be similar to Approach2 since we have additional overhead to propagate exceptions  from the callback instead of onstart callback. The performance impact of adding Exception Handling Functionality with Approach2 needs to be investigated. 

Since the performance impact of both Approaches should be similar and since Approach2 has an advantage of non execution of subsequent operators and addresses the issue with Approach1, the recommendation is to proceed with Approach2.

Open Questions

1. How to handle WaitForAll situation ?

...