PlaceOS::Model::GroupZone::ChangeFeed(T)
Inherits Iterator < Enumerable < Reference < Object
Junction table: a group's access to a zone, with a permission bitmask
and a deny flag. A row with deny = true masks off access that would
otherwise be inherited from an ancestor zone's GroupZone row (replace
semantics). Composite primary key (group_id, zone_id).
Constructors
new(id : Tuple(UUID, String) | 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.