mirror of
https://github.com/mamoe/mirai.git
synced 2025-03-10 20:20:08 +08:00
Remove ambiguous comments
This commit is contained in:
parent
8a355cc0d9
commit
b42b40dd3f
@ -125,7 +125,7 @@ class Bot(val account: BotAccount, val logger: MiraiLogger, context: CoroutineCo
|
||||
* [关闭][BotNetworkHandler.close]网络处理器, 取消所有运行在 [BotNetworkHandler] 下的协程.
|
||||
* 然后重新启动并尝试登录
|
||||
*/
|
||||
@JvmOverloads // shouldn't be suspend!! This function MUST NOT inherit the context from the caller because the caller(NetworkHandler) is going to close
|
||||
@JvmOverloads
|
||||
suspend fun reinitializeNetworkHandler(
|
||||
configuration: BotConfiguration,
|
||||
cause: Throwable? = null
|
||||
@ -148,7 +148,7 @@ class Bot(val account: BotAccount, val logger: MiraiLogger, context: CoroutineCo
|
||||
* [关闭][BotNetworkHandler.close]网络处理器, 取消所有运行在 [BotNetworkHandler] 下的协程.
|
||||
* 然后重新启动并尝试登录
|
||||
*/
|
||||
@JvmOverloads // shouldn't be suspend!! This function MUST NOT inherit the context from the caller because the caller(NetworkHandler) is going to close
|
||||
@JvmOverloads
|
||||
fun reinitializeNetworkHandlerAsync(
|
||||
configuration: BotConfiguration,
|
||||
cause: Throwable? = null
|
||||
|
Loading…
Reference in New Issue
Block a user