fission / fission-workflows

Workflows for Fission: Fast, reliable and lightweight function composition for serverless functions
Apache License 2.0
371 stars 42 forks source link

improve mechanism inside invocation rule #204

Closed xiekeyang closed 6 years ago

xiekeyang commented 6 years ago

This improves the mechanism inside the invocation rule to check if all tasks are completed.

Some temp variables are removed away, and it should check the task status in each loop, to return the result when it is the right condition.

This enhance readability and the performance a little.