ReloadableComponent

works.iterative.ui.components.ReloadableComponent
See theReloadableComponent companion object
case class ReloadableComponent[A, I](fetch: I => IO[UserMessage, A], init: Option[I] = ..., updates: Option[UStream[Reload[A]]] = ..., loadSchedule: Schedule[Any, Any, _] = ...)(using runtime: Runtime[Any])

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def getZIO: UIO[Option[A]]
def initMod: L.HtmlMod
def load(input: I): Unit
def now(): Option[A]
def reloadUntilChanged(input: I, original: A): Unit

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Concrete fields

val reload: Observer[Reload[A]]
val setter: Observer[A]
val state: Signal[Computable[A]]
val update: Observer[I]