removeWalletOnDisconnectEvent function
- @JS('dwa.removeWalletOnDisconnectEvent')
- BaseWalletAdapter walletAdapter,
- void onDisconnect()
Unsubscribes the onDisconnect
event. Call this when you no longer want to listen for wallet disconnections.
Implementation
@JS('dwa.removeWalletOnDisconnectEvent')
external void removeWalletOnDisconnectEvent(
BaseWalletAdapter walletAdapter, void Function() onDisconnect);