unboundedLongFlow

fun unboundedLongFlow(startAt: Long = 0): Flow<Long>

Creates an (almost) infinite Flow that emits sequentially incremented Long numbers starting from the startAt parameter.

Return

An (almost) infinite Flow of sequentially incremented Long numbers.

Parameters

startAt

The inclusive starting point.