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

    Function promptFor

    • Route a prompt to the user who should see it for the given actor.

      Delegate (getDelegateUser(actor)) is the target when active and distinct from the lead GM. When no delegate is available, or the delegate is the lead GM, the lead GM handles the prompt.

      Parameters

      • actor: Actor
      • spec: object

        Discriminated union keyed by type.

      Returns Promise<any>

      if the prompt chain is aborted.