mobx-keystone
    Preparing search index...

    Function runUnprotected

    • Runs a block in unprocted mode, as if it were run inside a model action. Consider using a proper model action instead since these kind of actions are not recorded.

      Type Parameters

      • T

        Return type.

      Parameters

      • name: string

        Mobx action name.

      • fn: () => T

        Action block.

      Returns T

    • Runs a block in unprocted mode, as if it were run inside a model action. Consider using a proper model action instead since these kind of actions are not recorded.

      Type Parameters

      • T

        Return type.

      Parameters

      • fn: () => T

        Action block.

      Returns T