apiref
@dtinth/google-sign-in-controller@0.0.4-2

GoogleSignInController.onCurrentUserChanged()  Method

Registers a callback to be called when the current user changes.

Signature

onCurrentUserChanged(callback: () => void): () => void;

Parameters

ParameterTypeDescription
callback() => void

The callback to be called.

(Returns)() => void

A function that unregisters the callback.