diff --git a/docs/Events.md b/docs/Events.md index 96fedfe12..6efb758e7 100644 --- a/docs/Events.md +++ b/docs/Events.md @@ -106,9 +106,7 @@ channel = channel.parentJob(job) 在 Kotlin,可以使用如下扩展快速在 GlobalEventChannel 创建一个指定协程作用域下的事件通道。 > ```kotlin -> ```kotlin -> > fun CoroutineScope.globalEventChannel(coroutineContext: CoroutineContext = EmptyCoroutineContext): EventChannel = GlobalEventChannel.parentScope(this, coroutineContext) -> > ``` +> fun CoroutineScope.globalEventChannel(coroutineContext: CoroutineContext = EmptyCoroutineContext): EventChannel = GlobalEventChannel.parentScope(this, coroutineContext) > ``` ```kotlin @@ -467,4 +465,4 @@ reply("复读模式结束") > 下一步,[Messages](Messages.md) > -> [回到 Mirai 文档索引](README.md) \ No newline at end of file +> [回到 Mirai 文档索引](README.md)