hmm, so along similar lines, I've got an object wh...
# coroutines
g
hmm, so along similar lines, I've got an object which, at construction time, makes a db call. I think, just idiomatically, I should have it use the async db which means in a property initializer I want to call a suspend fun. Now, in any reasonable situation this DB query will complete quickly, but, contractually, it can suspend for as long as it likes. Given that I wrote this little function: