From 490198e70c46a2c45aff56b90ca798b59e3da105 Mon Sep 17 00:00:00 2001 From: Him188 Date: Tue, 29 Dec 2020 03:51:10 +0800 Subject: [PATCH] Update Events.md --- docs/Events.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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)