Skip to content

API DocumentationDocs


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

Released under the MIT License.