mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-08 17:20:11 +08:00
fix docs for subscribeOnce
This commit is contained in:
parent
6079cbb6e0
commit
0c6115dcf3
@ -433,8 +433,8 @@ public open class EventChannel<out BaseEvent : Event> @JvmOverloads internal con
|
|||||||
)
|
)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 创建一个事件监听器, 监听事件通道中所有 [E] 及其子类事件.
|
* 创建一个事件监听器, 监听事件通道中所有 [E] 及其子类事件, 只监听一次.
|
||||||
* 每当 [事件广播][Event.broadcast] 时, [handler] 都会被执行.
|
* 当 [事件广播][Event.broadcast] 时, [handler] 会被执行.
|
||||||
*
|
*
|
||||||
* 可在任意时候通过 [Listener.complete] 来主动停止监听.
|
* 可在任意时候通过 [Listener.complete] 来主动停止监听.
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user