Created
January 11, 2019 23:47
-
-
Save adam-arold/68d58770c8804a461236ef6e5f3f281a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
interface EventBus { | |
fun <T : Event> subscribe(klass: KClass<T>, | |
callback: (T) -> Unit) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment