Build a dynamic flow

Report a typo

Build a flow that emits all integer numbers starting from 0.

You don't have to care about stopping it – the flow can run "forever" if needed, which usually means it will be stopped by the user.

Write a program in Kotlin
// declare a flow that emits all integers
val flow =
___

Create a free account to access the full topic