consume

fun consume()

Sets an event's state to consumed. Consuming an event prevents other listeners and the OS from handling it.