Package-level declarations

Types

Link copied to clipboard
interface Message<S>

Message interface

Link copied to clipboard
abstract class MessageBase<S>(val sender: S) : Message<S>

Base impl for Message.

Link copied to clipboard

Properties

Link copied to clipboard

Functions

Link copied to clipboard
inline fun <M : Message<*>> Component<*>.onMessage(noinline handler: (M) -> Unit)

Listens for a Message of the given type M.

Link copied to clipboard
fun <M : Message<*>> Component<*>.sendMessage(message: M)

Send the given message.