Add typealias

This commit is contained in:
Him188 2020-05-10 00:54:48 +08:00
parent 7525dc7c33
commit 4bbdd588d5

View File

@ -130,6 +130,8 @@ interface Listener<in E : Event> : CompletableJob {
suspend fun onEvent(event: E): ListeningStatus
}
typealias EventPriority = Listener.EventPriority
// region subscribe / subscribeAlways / subscribeOnce
/**