From e0194d5c0a2f25ef81e6184fd088abc4a9c2535b Mon Sep 17 00:00:00 2001 From: observer Date: Sat, 12 Sep 2026 20:19:22 +0100 Subject: [PATCH] Change start() return type from Job to Any since return value not needed --- .../kotlin/com/shr4pnel/ferretirc/net/messages/MessageIO.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/kotlin/com/shr4pnel/ferretirc/net/messages/MessageIO.kt b/src/main/kotlin/com/shr4pnel/ferretirc/net/messages/MessageIO.kt index e9ef863..b29d5b7 100644 --- a/src/main/kotlin/com/shr4pnel/ferretirc/net/messages/MessageIO.kt +++ b/src/main/kotlin/com/shr4pnel/ferretirc/net/messages/MessageIO.kt @@ -2,11 +2,10 @@ package com.shr4pnel.ferretirc.net.messages import io.ktor.network.sockets.Socket import kotlinx.coroutines.CoroutineScope -import kotlinx.coroutines.Job import kotlinx.coroutines.channels.Channel abstract class MessageIO(val socket: Socket, val scope: CoroutineScope) { val incomingMessages = Channel(Channel.BUFFERED) val outgoingMessages = Channel(Channel.BUFFERED) - abstract fun start(): Job + abstract fun start(): Any } \ No newline at end of file