Body, Mind & Soul — API Reference
    Preparing search index...

    Function resolveExecutor

    • Resolve the executor for a trigger dispatch.

      Returns { executor, isExecutor } where executor is the authoritative user and isExecutor is true iff game.user is that user. Dispatch sites gate on isExecutor; outcomes may consult context.isExecutor when they need to run exactly once cluster-wide without re-deriving the rule.

      Parameters

      • scope: string

        One of EXECUTOR_SCOPE values

      Returns { executor: User; isExecutor: boolean }