Handle returned by FaableAuthClient.onAuthStateChange.
Call unsubscribe() to stop receiving events — for example, in a React useEffect cleanup.
unsubscribe()
useEffect
Invoked every time an auth event happens.
Subscriber UUID assigned by the client.
Call to remove the listener.
Handle returned by FaableAuthClient.onAuthStateChange.
Call
unsubscribe()to stop receiving events — for example, in a ReactuseEffectcleanup.