We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc120a1 commit 584b3c4Copy full SHA for 584b3c4
kotlinx-coroutines-core/common/src/channels/Channel.kt
@@ -684,7 +684,7 @@ public interface ChannelIterator<out E> {
684
* exception which is either rethrown from the caller method or handed off to the exception handler in the current context
685
* (see [CoroutineExceptionHandler]) when one is available.
686
*
687
- * A typical usage for `onDeliveredElement` is to close a resource that is being transferred via the channel. The
+ * A typical usage for `onUndeliveredElement` is to close a resource that is being transferred via the channel. The
688
* following code pattern guarantees that opened resources are closed even if producer, consumer, and/or channel
689
* are cancelled. Resources are never lost.
690
0 commit comments