In the description @galata speaks of wrapping the building process in an async()
and calling await()
but in the screenshot they are no where to be seen but instead withContext()
is used.
Thanks again for content, really worth it
In the description @galata speaks of wrapping the building process in an async()
and calling await()
but in the screenshot they are no where to be seen but instead withContext()
is used.
Thanks again for content, really worth it
Good catch @doozy !
Indeed, the description is not up to date - in this scenario, when you need to get a result from a single task (vs running multiple tasks in parallel and waiting for the result) using withContext is handier, although async/await would do the job as well.
Thanks a lot for your feedback :]