mobx-keystone

    Function withoutUndo

    • Globally skips the undo recording mechanism for the code block that gets run synchronously inside. Consider using the withoutUndo method of a particular UndoManager instead.

      Type Parameters

      • T

        Code block return type.

      Parameters

      • fn: () => T

        Code block to run.

      Returns T

      The value returned by the code block.

    MMNEPVFCICPMFPCPTTAAATR