watchUser
Defined in: account-kit/core/src/actions/watchUser.ts:20
Watches for changes to the user in the client store and triggers the provided callback when a change is detected.
Example
Parameters
Returns
a function which accepts a callback that fires when the user changes and returns a function to unsubscribe from the user updates
Parameters
Returns
any