appears to be deprecated. What am I supposed to replace it with? I want to put
async(start=LAZY) { someSuspend() }
in my code, but I also don’t want to use deprecated functions.
Technically I’m updating some third-party library’s documentation, and I’d rather my PR not use deprecated methods. The current sample code uses
async {…}
and I’d rather not dramatically alter the sample code, but hew closely to the original.
s
streetsofboston
01/21/2020, 12:29 AM
This function is now an extension function on a CoroutineScope: