@samatawy/rules
    Preparing search index...

    Class ExecutableActionAbstract

    An executable action represents a specific operation that can be executed in the context of a rule. This can include actions like setting an output value, throwing an exception, or any other operation that can be performed as a consequence of a rule being satisfied. Each executable action must specify what data keys it requires to be evaluated and what data keys it will change when executed. This allows the rule engine to manage dependencies between rules and ensure that rules are executed in the correct order based on their requirements and effects.

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Properties

    preparedEffect?: Partial<RuleEffect>
    compiled?: Function

    Methods

    • What data keys are required for this action to be evaluated?

      Returns Set<string>

      a set of data keys required for this action to be evaluated.

    • What functions are invoked by this action? This information can be used for optimization, caching, or to determine which function nodes in the graph are relevant for this action.

      Returns Set<string>

      a set of function names invoked by this action.