setupWalletOnDisconnectEvent function
- @JS('dwa.setupWalletOnDisconnectEvent')
- BaseWalletAdapter walletAdapter,
- void onDisconnect()
The onDisconnect
event is emitted after the wallet has been disconnected.
This event is typically used to update the application state to reflect that
the wallet is disconnected.
Implementation
@JS('dwa.setupWalletOnDisconnectEvent')
external void setupWalletOnDisconnectEvent(
BaseWalletAdapter walletAdapter, void Function() onDisconnect);