Can you give me an example particular to this use ...
# coroutines
o
Can you give me an example particular to this use case ? @elizarov
e
Use it instead of
GlobalScope.launch
o
ok
d
And I don't think you need
coroutineScope
here either, if you are using suspend functions and not launching in them. You'll just need to be in a coroutine wherever this logger is used... also consider not opening and closing the file at every write...
o
ok