class

PlaceOS::Model::SignageTemplate::SystemTemplate::ChangeFeed(T)

Inherits Iterator < Enumerable < Reference < Object

junction attaching a SignageTemplate to a ControlSystem or a Zone (exactly one of the two). A row with a schedule shows the template during that schedule; a row without one is the default template for the pairing (at most one, enforced by a partial unique index). Surrogate UUID pk as the same template may be attached to the same system or zone multiple times with different schedules.

Constructors

new(id : UUID | Nil = nil, parent : T.class = T.class)

Instance methods

next

Returns the next element in this iterator, or Iterator::Stop::INSTANCE if there are no more elements.

on

Method expects a block which will get invoked with Change(T) parameter on change events received from EventBus

stop

Shortcut for Iterator::Stop::INSTANCE, to signal that there are no more elements in an iterator.

Nested types