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] 下的协程.
|
* [关闭][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(
|
suspend fun reinitializeNetworkHandler(
|
||||||
configuration: BotConfiguration,
|
configuration: BotConfiguration,
|
||||||
cause: Throwable? = null
|
cause: Throwable? = null
|
||||||
@ -148,7 +148,7 @@ class Bot(val account: BotAccount, val logger: MiraiLogger, context: CoroutineCo
|
|||||||
* [关闭][BotNetworkHandler.close]网络处理器, 取消所有运行在 [BotNetworkHandler] 下的协程.
|
* [关闭][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(
|
fun reinitializeNetworkHandlerAsync(
|
||||||
configuration: BotConfiguration,
|
configuration: BotConfiguration,
|
||||||
cause: Throwable? = null
|
cause: Throwable? = null
|
||||||
|
Loading…
Reference in New Issue
Block a user