Member Junction
    Preparing search index...

    Parameters for a single Runtime action execution.

    interface RuntimeActionExecutionParams {
        abortSignal?: AbortSignal;
        action: MJActionEntity;
        bridgeHandlers?: BridgeHandlerMap;
        contextUser: UserInfo;
        maxBridgeCalls?: number;
        params: ActionParam[];
    }
    Index

    Properties

    abortSignal?: AbortSignal

    Optional AbortSignal for cooperative cancellation. Honored by the universal wall-clock timeout in ActionEngine; we race against it so the sandbox can be terminated if the outer timeout fires.

    The MJActionEntity for the Runtime action to execute (must have Type='Runtime').

    bridgeHandlers?: BridgeHandlerMap

    Optional bridge handlers to expose to sandbox code. When omitted, the action runs in pure-compute mode (just input + libs). The bridge layer (@memberjunction/action-runtime's upcoming RuntimeActionBridge) builds this map based on the action's RuntimeActionConfiguration permissions.

    contextUser: UserInfo

    User context — propagated into the sandbox for any future bridge calls.

    maxBridgeCalls?: number

    Optional override for the per-execution bridge-call cap. Defaults to the value in RuntimeActionConfiguration.limits.maxBridgeCalls or 100 if unset.

    params: ActionParam[]

    Input + output ActionParam[] as supplied by the ActionEngine.