Foundry Virtual Tabletop - API Documentation - Version 14
    Preparing search index...

    Interface TokenMovementContinuationData

    interface TokenMovementContinuationData {
        continueCounter: number;
        continued: boolean;
        continuePromise: Promise<boolean> | null;
        movementId: string;
        postWorkflowPromise: Promise<void>;
        resolveWaitPromise: () => {} | undefined;
        states: {
            [movementId: string]: {
                callbacks: ((continued: boolean) => void)[];
                handles: Map<string | symbol | null, TokenMovementContinuationHandle>;
                pending: Set<string>;
            };
        };
        waitPromise: Promise<void>;
    }
    Index

    Properties

    continueCounter: number

    The number of continuations

    continued: boolean

    Was continued?

    continuePromise: Promise<boolean> | null

    The continuation promise

    movementId: string

    The movement ID

    postWorkflowPromise: Promise<void>

    The promise that resolves after the update workflow

    resolveWaitPromise: () => {} | undefined

    Resolve function of the wait promise

    states: {
        [movementId: string]: {
            callbacks: ((continued: boolean) => void)[];
            handles: Map<string | symbol | null, TokenMovementContinuationHandle>;
            pending: Set<string>;
        };
    }

    The movement continuation states

    waitPromise: Promise<void>

    The promise to wait for before continuing movement