Package 

Object Kakao

    • Field Summary

      Fields 
      Modifier and Type Field Description
      public final static Kakao INSTANCE
    • Method Summary

      Modifier and Type Method Description
      final Unit invoke(Function1<Kakao, Unit> function) Operator that allows usage of DSL style
      final Unit intercept(Function1<Interceptor.Configurator, Unit> configurator) Sets the interceptors for the whole Kakao runtime.
      final Unit reset() Removes the interceptors from the Kakao runtime.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • invoke

         final Unit invoke(Function1<Kakao, Unit> function)

        Operator that allows usage of DSL style

        Parameters:
        function - Tail lambda with receiver which is your Kakao runtime
      • intercept

         final Unit intercept(Function1<Interceptor.Configurator, Unit> configurator)

        Sets the interceptors for the whole Kakao runtime. Interceptors will be invoked on all of the interactions with the KView instances.

        Parameters:
        configurator - Configuration of the interceptors
      • reset

         final Unit reset()

        Removes the interceptors from the Kakao runtime.