elect
12/11/2024, 11:51 AMexecute { } (runnable: (() -> Unit)!)
execute { } (callable: (() -> T!)!)
if I simply type execute{ } the first one will be picked up, while I'd need the second one
is there a way to explicitly select the second option with SAM, or is this the only option I have?
val filtered = environmentVariables.execute(
Callable { classpath.filter { GradleRunnerFactory.CLASSPATH_GRADLE_CACHE(it) } }
)Vampire
12/11/2024, 12:19 PMjava.util.concurrent.ScheduledExecutorService#schedule has one overload with Runnable and one with Callable.Vampire
12/11/2024, 12:21 PMexecute<SomeType> { ... } should workelect
12/11/2024, 12:44 PM