TourDriveExecutor: (drive: TourDrive, tour: unknown) => void | Promise<void>

The Foundry-coupled executor SohlTour supplies to runDrive: it turns one TourDrive descriptor into its side-effecting Foundry calls and resolves when that action is complete.

Type declaration

    • (drive: TourDrive, tour: unknown): void | Promise<void>
    • Parameters

      • drive: TourDrive

        The drive descriptor to execute.

      • tour: unknown

        The running tour, for reaching the resolved documents/canvas.

      Returns void | Promise<void>

      A promise that resolves once the action has fully completed.