API Documentation / pinia / SubscriptionCallbackMutationPatchFunction

Interface: SubscriptionCallbackMutationPatchFunction

pinia.SubscriptionCallbackMutationPatchFunction

Context passed to a subscription callback when store.$patch() is called with a function.

Hierarchy

Properties

events

events: DebuggerEvent[]

DEV ONLY. Array of all the mutations done inside of the callback.


storeId

storeId: string

id of the store doing the mutation.

Inherited from

_SubscriptionCallbackMutationBase.storeId


type

type: patchFunction

Type of the mutation.

Overrides

_SubscriptionCallbackMutationBase.type