-
public class KakaoCompose
-
-
Field Summary
Fields Modifier and Type Field Description public final static KakaoComposeINSTANCE
-
Method Summary
Modifier and Type Method Description final Unitinvoke(Function1<KakaoCompose, Unit> function)Operator that allows usage of DSL style final Unitintercept(Function1<Interceptor.Configurator, Unit> configurator)Sets the interceptors for the whole Kakao-Compose runtime. final Unitreset()Removes the interceptors from the Kakao-Compose runtime. -
-
Method Detail
-
invoke
final Unit invoke(Function1<KakaoCompose, Unit> function)
Operator that allows usage of DSL style
- Parameters:
function- Tail lambda with receiver which is your Kakao-Compose runtime
-
intercept
final Unit intercept(Function1<Interceptor.Configurator, Unit> configurator)
Sets the interceptors for the whole Kakao-Compose runtime. Interceptors will be invoked on all of the interactions with the BaseNode instances.
- Parameters:
configurator- Configuration of the interceptors
-
-
-
-