class PlaceOS::Model::ApiKey::ChangeFeed(T)
- PlaceOS::Model::ApiKey::ChangeFeed(T)
- Reference
- Object
Included Modules
Defined in:
Constructors
Instance Method Summary
-
#next
Returns the next element in this iterator, or
Iterator::Stop::INSTANCE
if there are no more elements. -
#on(&block : Change(T) -> Nil)
Method expects a block which will get invoked with
Change(T)
parameter on change events received fromEventBus
-
#stop
Shortcut for
Iterator::Stop::INSTANCE
, to signal that there are no more elements in an iterator.
Constructor Detail
Instance Method Detail
def next
#
Description copied from module Iterator(PlaceOS::Model::ApiKey::ChangeFeed::Change(T))
Returns the next element in this iterator, or Iterator::Stop::INSTANCE
if there
are no more elements.
Method expects a block which will get invoked with Change(T)
parameter on change events received from EventBus
def stop
#
Description copied from module Iterator(PlaceOS::Model::ApiKey::ChangeFeed::Change(T))
Shortcut for Iterator::Stop::INSTANCE
, to signal that there are no more elements in an iterator.