The design document has multiple samples on adapti...
# coroutines
e
The design document has multiple samples on adapting call-back style APIs to coroutines. So if you understand how to adapt a blocking API to call-back API, then you should be able to take that and adapt it to suspending API for coroutines.