RenderedController

org.terminal21.client.RenderedController
class RenderedController[M](eventIteratorFactory: => Iterator[CommandEvent], renderChanges: (Seq[UiElement]) => Unit, materializer: () => M, initialMv: MV[M])

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

Attributes

Returns

A new event iterator. There can be many event iterators on the same time and each of them iterates events only from after the time it was created. The iterator blocks while waiting to receive an event. Normally a single iterator is required and most of the time it is better done by the #run() method below.

def run(): Option[M]

Gets an iterator and run the event processing.

Gets an iterator and run the event processing.

Attributes

Returns

The last value of the model or None if the user closed the session.