mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-20 19:09:12 +08:00
Add typealias
This commit is contained in:
parent
7525dc7c33
commit
4bbdd588d5
@ -130,6 +130,8 @@ interface Listener<in E : Event> : CompletableJob {
|
||||
suspend fun onEvent(event: E): ListeningStatus
|
||||
}
|
||||
|
||||
typealias EventPriority = Listener.EventPriority
|
||||
|
||||
// region subscribe / subscribeAlways / subscribeOnce
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user