Store

io.worxbend.tui.runtime.Store
See theStore companion class
object Store

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Store.type

Members list

Value members

Concrete methods

def apply[S](initial: S, history: Int = ...)(using SignalEquality[S]): Store[S]

A store starting at initial, keeping up to history previous states for Store.undo (none by default). Change detection follows the SignalEquality in scope, exactly as Signal(initial) would.

A store starting at initial, keeping up to history previous states for Store.undo (none by default). Change detection follows the SignalEquality in scope, exactly as Signal(initial) would.

Attributes