This commit is contained in:
Him188 2020-01-17 12:01:42 +08:00
parent 3a47e2e255
commit c9ac5d6185

View File

@ -57,7 +57,6 @@ interface Cancellable : Subscribable {
* 广播一个事件的唯一途径.
*/
suspend fun <E : Subscribable> E.broadcast(): E {
@Suppress("EXPERIMENTAL_API_USAGE")
this@broadcast.broadcastInternal() // inline, no extra cost
return this
}