OneTimeEvent

class OneTimeEvent<out T>(content: T)

Event designed to be delivered only once to a concrete entity, but it can also be delivered to multiple different entities.

Keeps track of who has already handled its content.

Constructors

Link copied to clipboard
constructor(content: T)

Functions

Link copied to clipboard
fun getIfNotHandled(asker: String): T?