Function: subscribeToWalletChanges()
GalaChain core SDK 1.0.0-rc.8 / providers / subscribeToWalletChanges
Function: subscribeToWalletChanges()
subscribeToWalletChanges(
callback): () =>void
Defined in: packages/gala-core-sdk/dist/providers.d.ts:518
Calls callback with the detected wallets now and again whenever a new wallet announces itself.
Outside a browser it never calls and the returned function does nothing.
Parameters
callback
(result) => void
Returns
The function that stops the calls and the listening.
() => void