typed

fun typed(keys: Set<Key>, callback: suspend (key: KeyEvent) -> Unit): Closeable
fun typed(callback: suspend (key: KeyEvent) -> Unit): Closeable
fun typed(key: Key, callback: suspend (key: KeyEvent) -> Unit): Closeable
fun typed(vararg keys: Key, callback: suspend (key: KeyEvent) -> Unit): Closeable