Join Slack
Powered by
So this (which is also shorter :wink: ) would do t...
# coroutines
l
louiscad
05/17/2017, 1:34 PM
So this (which is also shorter 😉 ) would do the trick?
Copy code
private suspend fun openCamAsync(): Camera = async(CommonPool) { Camera.open() }.await()
Open in Slack
Previous
Next