Adapter

open class Adapter<Controller>(controller: Controller, val scope: CoroutineScope = CoroutineScope(Dispatchers.Main)) : Component

Inheritors

Constructors

Link copied to clipboard
constructor(controller: Controller, scope: CoroutineScope = CoroutineScope(Dispatchers.Main))

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val scope: CoroutineScope

Functions

Link copied to clipboard
open override fun handle(event: ControllerEvent)
fun handle(controller: Controller, event: ControllerEvent)
Link copied to clipboard
operator fun <Result> invoke(function: Controller.() -> Result?): Result?
Link copied to clipboard
suspend fun <Result> invokeSuspend(function: suspend Controller.() -> Result?): Result?
Link copied to clipboard