Skip to content

@pinia/root / pinia / SubscriptionCallbackMutation

SubscriptionCallbackMutation<S>

ts
type SubscriptionCallbackMutation<S> = 
  | SubscriptionCallbackMutationDirect
  | SubscriptionCallbackMutationPatchObject<S>
  | SubscriptionCallbackMutationPatchFunction;

Context object passed to a subscription callback.

Type Parameters

S

Released under the MIT License.