mobx-keystone

    Function applyAction

    • Applies (runs) an action over a target object.

      If you intend to apply serialized actions check one of the applySerializedAction methods instead.

      Type Parameters

      • TRet = any

      Parameters

      • subtreeRoot: object

        Subtree root target object to run the action over.

      • call: ActionCall

        The action, usually as coming from onActionMiddleware.

      Returns TRet

      The return value of the action, if any.

    MMNEPVFCICPMFPCPTTAAATR