Transform the flow

Report a typo

We have a flow that emits some integer numbers. Add transformations to it to multiply every number by 2.

This task uses dependencies that may not be available in your local IDE. As a result, you may see compilation errors or unresolved references when running the code locally. This does not affect solution validation when you submit your solution to Hyperskill.

Write a program in Kotlin
// transform given intFlow into a new one according to the task
val flow = intFlow

Create a free account to access the full topic