API Documentation • Docs
API Documentation / pinia / SubscriptionCallback
Type Alias: SubscriptionCallback()<S>
SubscriptionCallback<
S
>: (mutation
,state
) =>void
Callback of a subscription
Type Parameters
• S
Parameters
• mutation: SubscriptionCallbackMutation
<S
>
• state: UnwrapRef
<S
>
Returns
void