Package 

Class HotInvocationKt

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final static HotInvocation hotInvocation(Mutex mutex, Map<String, BroadcastChannel<?>> map) Create a new HotInvocation object
      final static <T extends Any> T withHot(CoroutineScope $self, String key, SuspendFunction0<T> block) Hot-invoke specified suspending function by unique key
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • withHot

        @Deprecated(message = "Please migrate to CoroutineScope#withSingleShared") final static <T extends Any> T withHot(CoroutineScope $self, String key, SuspendFunction0<T> block)

        Hot-invoke specified suspending function by unique key

        Parameters:
        key - unique key to use hot-invoke a specified suspending function
        block - suspending function to invoke