PlaceOS::Model::SignageAIJob::ChangeFeed(T)
Inherits Iterator < Enumerable < Reference < Object
One image generation or edit request.
Candidates are written into result["images"] one at a time by the runner as
each vendor call finishes. Every write bumps version, which is what the long
polling endpoint compares against so a client can tell what it has already seen
(updated_at only has whole second resolution and cannot order two writes in
the same second).
Constructors
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.