Skip to content

Commit

Permalink
部分代码清理
Browse files Browse the repository at this point in the history
  • Loading branch information
ForteScarlet committed Jan 28, 2024
1 parent b74a0e6 commit 81e9d8c
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.future.await
import kotlinx.coroutines.runInterruptible
import love.forte.simbot.qguild.event.Signal
import love.forte.simbot.suspendrunner.runInBlocking
import org.jetbrains.annotations.Blocking
import org.jetbrains.annotations.NonBlocking
import java.util.concurrent.CompletableFuture
Expand All @@ -47,8 +46,6 @@ public fun interface JBlockEventProcessor : EventProcessor {

@JvmSynthetic
override suspend fun Signal.Dispatch.invoke(raw: String) {
runInBlocking { }

runInterruptible(Dispatchers.IO) { block(this, raw) }
}
}
Expand Down

0 comments on commit 81e9d8c

Please sign in to comment.