Gilles Barbier
07/11/2020, 9:29 AMinline fun <reified T> proxy() = (something...) as T
I can use use as val proxy = proxy<MyClass>() - but how can I use it from an interface to obtain a proxy of a class implementing this interface?Gilles Barbier
07/11/2020, 9:33 AMasync{ myMethod() } where myMethod is a method of the class implementing the interface, and I would like to inject a scope which is a proxy of the current class in such a way that myMethod() call is proxied to change its behavior (I hope it's clear!)Zach Klippenstein (he/him) [MOD]
07/11/2020, 3:55 PM