OfflineSyncStreamEventStreamExtension extension
Extensions for stream iterators of OfflineSyncStreamEvent.
Methods
-
collectNextBatch(
{bool allowCloseBeforeBatch = false}) → Future< OfflineSyncCycleBatch?> -
Available on StreamIterator<
Collects the next framed sync batch from this iterator.OfflineSyncStreamEvent> , provided by the OfflineSyncStreamEventStreamExtension extension -
moveAndThrowIfNot<
T extends OfflineSyncStreamEvent> () → Future< T> -
Available on StreamIterator<
Moves the iterator to the next event and throws if the stream is closed or the next event is not of typeOfflineSyncStreamEvent> , provided by the OfflineSyncStreamEventStreamExtension extensionT.