I recently learned Coroutines
and I am trying my best to implement it to everything.
I learned you could convert a callback to a coroutine
.
Is it possible to convert a Broadcast Receiver
to coroutines
by using suspendCoroutine
?
How do I do this?