Type Alias: SyncStore()
SyncStore = (
onChange) => () =>void
Defined in: coreUtils/hooks.ts:12
Represents an event store which can be subscribed to listen its changes.
This store exactly the same as accepted by React.useSyncExternalStore hook.
Parameters
| Parameter | Type |
|---|---|
| () => |
Returns
():
void
Returns
void