In “gallery/v14/src/main/kotlin/com/example/gallery/GetImageFromFile.kt”
- won’t the .usealways callchannel.close()on exit? if so, why do you needinvokeOnCancellation? or does cancellation somehow avoid thefinallyin theuse?
- if I wanted to iterate through the file line by line, I presume I’d call readlinerather thanreadand otherwise it’s roughly the same?
