@samatawy/rules
    Preparing search index...

    Interface Executor

    interface Executor {
        typedChanges(
            checker?: TypeChecker,
        ): Record<string, AtomicType | ArrayType | ObjectType>;
        execute(context: WorkingContext): RuleEffect;
    }

    Implemented by

    Index

    Methods

    • Execute the required action in the given context and return the effects of the execution.

      Parameters

      • context: WorkingContext

        the current working context containing data and constants.

      Returns RuleEffect

      the effects of executing the action, including any changes or exceptions.