API Documentation / pinia / SubscriptionCallbackMutationPatchFunction
Interfaz: SubscriptionCallbackMutationPatchFunction {#interface-subscriptioncallbackmutationpatchfunction}
pinia.SubscriptionCallbackMutationPatchFunction
Contexto pasado a un callback de suscripción cuando store.$patch()
es llamado con una función.
Jerarquía {#hierarchy}
_SubscriptionCallbackMutationBase
↳
SubscriptionCallbackMutationPatchFunction
Propiedades {#properties}
events {#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 {#overrides}
_SubscriptionCallbackMutationBase.events
storeId {#storeid}
• storeId: string
id
del almacén que realiza la mutación.
Heredado de {#inherited-from}
_SubscriptionCallbackMutationBase.storeId
type {#type}
• type: patchFunction
Tipo de mutación.