Concept Flow - Flow builder and collect
Start Flow Builder
Emit values one by one
Flow created
Call collect on Flow
Collect each emitted value
Process or print value
End when all values emitted
The flow builder creates a flow that emits values one by one. When collect is called, it receives each value and processes it until all are emitted.