removeWalletOnConnectEvent function
- @JS('dwa.removeWalletOnConnectEvent')
- BaseWalletAdapter walletAdapter,
- void onConnect(
- PublicKey publicKey
Unsubscribes the onConnect
event. Call this when you no longer want to listen for wallet connections.
Implementation
@JS('dwa.removeWalletOnConnectEvent')
external void removeWalletOnConnectEvent(BaseWalletAdapter walletAdapter,
void Function(PublicKey publicKey) onConnect);