Closed spark0510 closed 4 months ago
Rank
{"Rank": "1/4"}
faasr_check_workflow_cycle
faasr_run_user_function
.done
sum.1.done
sum.2.done
faasr_abort_on_mutiple_invocation
faasr_rank
MaxRank
rank_list <- FaaSr::faasr_rank() MaxRank <- rank_list$MaxRank Rank <- rank_list$Rank
Rank
on the schemaRank
in the json would be like following:{"Rank": "1/4"}
- it indicates the first action out of 4faasr_check_workflow_cycle
ignores theRank
faasr_run_user_function
leaves the.done
file being adaptive toRank
:sum.1.done
,sum.2.done
and so onfaasr_abort_on_mutiple_invocation
reads theRank
and aborts the action if all actions including ones withRank
haven't completed.faasr_rank
to returnRank
. Return value is a list consisting ofMaxRank
andRank
. Users can retrieve these values by following functions: