API Documentation / pinia / SubscriptionCallbackMutationPatchFunction
Interface: SubscriptionCallbackMutationPatchFunction
pinia.SubscriptionCallbackMutationPatchFunction
Context passed to a subscription callback when store.$patch()
is called with a function.
Hierarchy
_SubscriptionCallbackMutationBase
↳
SubscriptionCallbackMutationPatchFunction
Properties
events
• events: DebuggerEvent
[]
DEV ONLY. Array of all the mutations done inside of the callback.
Defined in
storeId
• storeId: string
id
of the store doing the mutation.
Inherited from
_SubscriptionCallbackMutationBase.storeId
Defined in
type
• type: patchFunction
Type of the mutation.
Overrides
_SubscriptionCallbackMutationBase.type