Class ThreadControllerKt
-
- All Implemented Interfaces:
public final class ThreadControllerKt
-
-
Method Summary
Modifier and Type Method Description final static <T extends Any> JobmonitorChannelWithException(CoroutineScope $self, ReceiveChannel<T> channel, SuspendFunction1<T, Unit> predicate, Function0<Unit> onCancellation)final static UnitifChannelException(Exception $self, Function0<Unit> action)
-
-
-
Method Detail
-
monitorChannelWithException
final static <T extends Any> Job monitorChannelWithException(CoroutineScope $self, ReceiveChannel<T> channel, SuspendFunction1<T, Unit> predicate, Function0<Unit> onCancellation)
-
ifChannelException
final static Unit ifChannelException(Exception $self, Function0<Unit> action)
-
-