Skip to content
scalive
Menu
ConnectingLiveReconnectingOffline
GitHub
e

KeepLast

enum KeepLast(count: Int) extends StreamLimit

Retains at most the last count items, pruning items from the beginning.

Parameters

count

The maximum number of items to retain, which must be positive.

Exported from scalive.streams.StreamLimit.KeepLast. View source (scalive/api/src/scalive/streams/LiveStream.scala:44-44)

Values1

count

val count: Int

The maximum number of items to retain, which must be positive.

Exported from scalive.streams.StreamLimit.KeepLast.count. View source (scalive/api/src/scalive/streams/LiveStream.scala:44-44)