faasr_abort_on_multiple_invocations {FaaSr}R Documentation

faasr_abort_on_multiple_invocations

Description

Ensures that only one Action proceeds to execute a User Function if there are multiple triggers This is necessary because if in the Workflow a function receives multiple triggers, multiple Actions are invoked; however, we don't want to execute the same function multiple times. This function aborts all but the last Action triggered.

Usage

faasr_abort_on_multiple_invocations(faasr, pre)

Arguments

faasr

list with parsed and validated Payload

pre

list with names of functions and corresponding predecessors


[Package FaaSr version 1.3.0 Index]