`Sequence` is synchronous and lazy on the current thread. `Flow` is a cold asynchronous stream that can suspend, is cancellable, and is collected with coroutines (`collect`), which makes it good for async data streams.
flow {
emit(1)
emit(2)
}.collect { value ->
println(value)
}