-
- All Implemented Interfaces:
public final class HotInvocationKt
-
-
Method Summary
Modifier and Type Method Description final static HotInvocationhotInvocation(Mutex mutex, Map<String, BroadcastChannel<?>> map)Create a new HotInvocation object final static <T extends Any> TwithHot(CoroutineScope $self, String key, SuspendFunction0<T> block)Hot-invoke specified suspending function by unique key -
-
Method Detail
-
hotInvocation
@Deprecated(message = "Please migrate to KeyedSingleSharedContext") final static HotInvocation hotInvocation(Mutex mutex, Map<String, BroadcastChannel<?>> map)
Create a new HotInvocation object
-
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 functionblock- suspending function to invoke
-
-
-
-