Skip to content
En esta página

API Documentation / pinia / SubscriptionCallbackMutationDirect

Interfaz: SubscriptionCallbackMutationDirect ​

pinia.SubscriptionCallbackMutationDirect

Contexto pasado a un callback de suscripción cuando se muta directamente el estado de un almacén con store.someState = newValue o store.$state.someState = newValue.

Jerarquía ​

Propiedades ​

events ​

• events: DebuggerEvent

🔴 SOLO PARA DESARROLLO, NO usar para código de producción. Diferentes llamadas de mutación. Viene de https://vuejs.org/guide/extras/reactivity-in-depth.html#reactivity-debugging y permite realizar un rastreo de las mutaciones en devtools y plugins sólo durante el desarrollo.

Sobrescribe ​

_SubscriptionCallbackMutationBase.events


storeId ​

• storeId: string

id del almacén que realiza la mutación.

Heredado de ​

_SubscriptionCallbackMutationBase.storeId


type ​

• type: direct

Tipo de mutación.

Sobrescribe ​

_SubscriptionCallbackMutationBase.type

Lanzado bajo la Licencia MIT.