W-CF Documentation - v11.0.0
    Preparing search index...

    Interface DocumentIOContext

    interface DocumentIOContext {
        customState: GroupedMap;
        registerPendingTask(pTask: () => Promise<void>): void;
    }

    Hierarchy (View Summary)

    Index
    customState: GroupedMap
    • Can be used to register a task which needs to be finished before the the whole load/save process is finished. Tasks will be processed sequentially.

      Parameters

      • pTask: () => Promise<void>

      Returns void