class RethinkORM::Changefeed(T)

Overview

Wraps the Changefeed iterator and parses events

Included Modules

Direct Known Subclasses

Defined in:

rethinkdb-orm/utils/changefeed.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(iterator : Iterator(RethinkDB::QueryResult)) #

[View source]

Instance Method Detail

def next #
Description copied from module Iterator(RethinkORM::Changefeed::Change(T))

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


[View source]
def stop #
Description copied from module Iterator(RethinkORM::Changefeed::Change(T))

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


[View source]