louiscad
11/21/2019, 5:36 PMkotlinx.coroutines.invoke
for CoroutineDispatcher
without having to use either of these two inconvenient options:
1. Adding @UseExperimental(ExperimentalCoroutinesApi::class)
at each use-site
2. Opting-in for all @ExperimentalCoroutinesApi
and being bitten later when other experimental APIs change that I didn't see coming.
I'd want to be able to opt-in for these in Gradle config (or compiler config) in a way or another, I can search for ideas on how to define it.
The fully qualified name (or a pair of imports + symbol names) would be enough, opting-in for all functions overloads, in a KDoc fashion.Ky Leggiero
11/24/2019, 10:20 PMlouiscad
11/24/2019, 11:29 PM