faasr_abort_on_multiple_invocations: faasr_abort_on_multiple_invocations

View source: R/faasr_abort_on_multiple_invocations.R

faasr_abort_on_multiple_invocationsR 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


FaaSr documentation built on April 11, 2025, 5:51 p.m.