Wire

sealed interface Wire(source)

What crossed one wire of a handler stack: an effect on its way down, or its response on the way up.

Inheritors

Types

Link copied to clipboard
data class Down(val layer: String, val effect: Effect<*>) : Wire
Link copied to clipboard
data class Up(val layer: String, val effect: Effect<*>, val response: Any?) : Wire

Properties

Link copied to clipboard
abstract val effect: Effect<*>
Link copied to clipboard
abstract val layer: String

The observer that saw it, named after the participant above the wire.