Function: useEventStore()
useEventStore<
E
,K
>(events
,key
):SyncStore
Creates an event store which changes when an event triggers with the specified event type.
Type Parameters
Type Parameter |
---|
|
|
Parameters
Parameter | Type |
---|---|
|
|
|
|
useEventStore<
E
,K
>(events
,key
):SyncStore
Creates an event store which changes when an event triggers with the specified event type.
Type Parameter |
---|
|
|
Parameter | Type |
---|---|
|
|
|
|