@pinia/root / pinia / StoreOnActionListener
StoreOnActionListener()<Id, S, G, A>
ts
type StoreOnActionListener<Id, S, G, A> = (context) => void;Argument of store.$onAction()
Type Parameters
Id
Id extends string
S
S extends StateTree
G
G
A
A
Parameters
context
StoreOnActionListenerContext<Id, S, G, object extends A ? _ActionsTree : A>
Returns
void

