mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-24 06:50:08 +08:00
Cleanup
This commit is contained in:
parent
3a47e2e255
commit
c9ac5d6185
@ -57,7 +57,6 @@ interface Cancellable : Subscribable {
|
|||||||
* 广播一个事件的唯一途径.
|
* 广播一个事件的唯一途径.
|
||||||
*/
|
*/
|
||||||
suspend fun <E : Subscribable> E.broadcast(): E {
|
suspend fun <E : Subscribable> E.broadcast(): E {
|
||||||
@Suppress("EXPERIMENTAL_API_USAGE")
|
|
||||||
this@broadcast.broadcastInternal() // inline, no extra cost
|
this@broadcast.broadcastInternal() // inline, no extra cost
|
||||||
return this
|
return this
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user