Searched refs:invokeOnClose (Results 1 – 14 of 14) sorted by relevance
41 channel.invokeOnClose { in <lambda>()59 channel.invokeOnClose { expect(2) } in <lambda>()60 assertFailsWith<IllegalStateException> { channel.invokeOnClose { expect(3) } } in <lambda>()68 channel.invokeOnClose { expect(3) } in <lambda>()70 assertFailsWith<IllegalStateException> { channel.invokeOnClose { expect(4) } } in <lambda>()91 ch.invokeOnClose { assertIs<CancellationException>(it) } in <lambda>()98 ch.invokeOnClose { assertIs<TimeoutCancellationException>(it) } in <lambda>()105 channel.invokeOnClose { in <lambda>()
51 channel.invokeOnClose { counter.incrementAndGet() } in runStressTest()56 channel.invokeOnClose { counter.incrementAndGet() } in runStressTest()
49 invokeOnClose { in cont()
142 public fun invokeOnClose(handler: (cause: Throwable?) -> Unit) in send() method
1826 override fun invokeOnClose(handler: (cause: Throwable?) -> Unit) { in <lambda>() method in kotlinx.coroutines.channels.BufferedChannel
106 (second as SendChannel<*>).invokeOnClose { in zipImpl()
58 public fun invokeOnClose (Lkotlin/jvm/functions/Function1;)Ljava/lang/Void;59 public synthetic fun invokeOnClose (Lkotlin/jvm/functions/Function1;)V
47 invokeOnClose { in <lambda>()
67 override fun invokeOnClose(handler: (Throwable?) -> Unit) = in close() method
81 override fun invokeOnClose(handler: (Throwable?) -> Unit): Nothing = in close() method
79 * `Channel.invokeOnClose` is promoted to stable API (#3358).
61 * `Channel.invokeOnClose` is promoted to stable API (#3358).84 * `Channel.invokeOnClose` is promoted to stable API (#3358).1064 * Introduced `SendChannel.invokeOnClose` (see #341).
836 public fun invokeOnClose (Lkotlin/jvm/functions/Function1;)V890 public abstract fun invokeOnClose (Lkotlin/jvm/functions/Function1;)V