Skip to content
En esta página

API Documentation / pinia / SubscriptionCallbackMutationPatchFunction

Interfaz: SubscriptionCallbackMutationPatchFunction ​

pinia.SubscriptionCallbackMutationPatchFunction

Contexto pasado a un callback de suscripción cuando store.$patch() es llamado con una función.

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: patchFunction

Tipo de mutación.

Sobrescribe ​

_SubscriptionCallbackMutationBase.type

Lanzado bajo la Licencia MIT.