android / codelab-kotlin-coroutines

Kotlin Coroutines codelab
Apache License 2.0
552 stars 268 forks source link

getPlantsWithGrowZoneNumber instead of getPlantsWithGrowZoneFlow in Step 13 #120

Closed MelerosPaw closed 3 years ago

MelerosPaw commented 3 years ago

Under subtitle "Using suspend functions to orchestrate async work" there is this sentence:

Open up PlantsRepository.kt and add a map transform to getPlantsWithGrowZoneNumber.

But the accompanying snippet indicates method getPlantsWithGrowZoneFlow instead.

wojtek-kalicinski commented 3 years ago

Thank you, I've corrected the text in the internal codelab source document and it will be visible soon, once we publish a new version on the website.