R
04/30/2022, 8:23 AMController.kt when I attempt to call this from main() I get an IDE error (see below), can anyone help me resolve this?
fun <T> awsrun(f: (Ec2Client) -> T): List<T> {
return clients.values.map { f(it) }
}Joffrey
04/30/2022, 9:47 AMawsrun is not marked inline so it has to accept a suspend argument if you want to call suspend functionsR
04/30/2022, 12:53 PM