naystack - v1.9.9
    Preparing search index...

    Function subscribeToAccessToken

    • Subscribes to token changes. AuthWrapper uses this to mirror the store into React state.

      Parameters

      • listener: (token: string | null | undefined) => void

        Called with the new token on every change.

      Returns () => void

      Unsubscribe function.