From 8f4d51ca36cf287cd4615227f3f499fce0185e7e Mon Sep 17 00:00:00 2001
From: Him188 <Him188@mamoe.net>
Date: Sun, 27 Dec 2020 23:52:29 +0800
Subject: [PATCH] Improve docs

---
 mirai-core-api/src/commonMain/kotlin/event/EventChannel.kt | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/mirai-core-api/src/commonMain/kotlin/event/EventChannel.kt b/mirai-core-api/src/commonMain/kotlin/event/EventChannel.kt
index 73d82ce11..a7f471896 100644
--- a/mirai-core-api/src/commonMain/kotlin/event/EventChannel.kt
+++ b/mirai-core-api/src/commonMain/kotlin/event/EventChannel.kt
@@ -25,6 +25,7 @@ import net.mamoe.mirai.event.events.BotEvent
 import net.mamoe.mirai.event.internal.GlobalEventListeners
 import net.mamoe.mirai.event.internal.Handler
 import net.mamoe.mirai.event.internal.ListenerRegistry
+import net.mamoe.mirai.event.internal.registerEventHandler
 import net.mamoe.mirai.utils.MiraiExperimentalApi
 import net.mamoe.mirai.utils.MiraiLogger
 import java.util.function.Consumer
@@ -426,6 +427,8 @@ public open class EventChannel<out BaseEvent : Event> @JvmOverloads constructor(
     /**
      * 注册 [ListenerHost] 中的所有 [EventHandler] 标注的方法到这个 [EventChannel].
      *
+     * @param coroutineContext 在 [defaultCoroutineContext] 的基础上, 给事件监听协程的额外的 [CoroutineContext]
+     *
      * @see subscribe
      * @see EventHandler
      * @see ListenerHost