Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
public async ConnectLocal(aConnectObj: ButtplugStartConnectEvent) {
const buttplugClient = new ButtplugBrowserClient(aConnectObj.clientName);
await buttplugClient.Connect(aConnectObj.address);
await this.InitializeConnection(buttplugClient);
}