discord-jadx/app/src/main/java/com/discord/gateway/GatewaySocket$handleHeartbe...

29 lines
1.0 KiB
Java

package com.discord.gateway;
import com.discord.utilities.websocket.WebSocket;
import d0.z.d.o;
import kotlin.Unit;
import kotlin.jvm.functions.Function1;
/* compiled from: GatewaySocket.kt */
public final class GatewaySocket$handleHeartbeatTimeout$1 extends o implements Function1<WebSocket, Unit> {
public static final GatewaySocket$handleHeartbeatTimeout$1 INSTANCE = new GatewaySocket$handleHeartbeatTimeout$1();
public GatewaySocket$handleHeartbeatTimeout$1() {
super(1);
}
/* Return type fixed from 'java.lang.Object' to match base method */
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */
@Override // kotlin.jvm.functions.Function1
public /* bridge */ /* synthetic */ Unit invoke(WebSocket webSocket) {
invoke(webSocket);
return Unit.a;
}
public final void invoke(WebSocket webSocket) {
if (webSocket != null) {
WebSocket.disconnect$default(webSocket, 4000, null, 2, null);
}
}
}