Skip to content
scalive
Menu
ConnectingLiveReconnectingOffline
GitHub
e

KeepFirst

enum KeepFirst(count: Int) extends StreamLimit

Retains at most the first count items, pruning items from the end.

Parameters

count

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

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

Values1

count

val count: Int

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

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