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 ConnectWebsocket(aConnectObj: ButtplugStartConnectEvent) {
const buttplugClient = new ButtplugWebsocketClient(aConnectObj.clientName);
await buttplugClient.Connect(aConnectObj.address);
await this.InitializeConnection(buttplugClient);
}