Protocol Bridge
class ProtocolBridge<W : Any>(guestVersion: RedwoodVersion, container: Widget.Children<W>, factory: ProtocolFactory<W>, eventSink: EventSink) : ChangesSink
Bridges the serialized Redwood protocol back to widgets on the display side.
This type will consume Changes and apply their ChildrenChange operations to the widget tree. PropertyChanges and ModifierChanges are forwarded to their respective widgets. Events from widgets are forwarded to eventSink.
Constructors
Link copied to clipboard
constructor(guestVersion: RedwoodVersion, container: Widget.Children<W>, factory: ProtocolFactory<W>, eventSink: EventSink)