File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
kotlinx-coroutines-core/common/src/channels Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -684,7 +684,7 @@ public interface ChannelIterator<out E> {
684
684
* exception which is either rethrown from the caller method or handed off to the exception handler in the current context
685
685
* (see [CoroutineExceptionHandler]) when one is available.
686
686
*
687
- * A typical usage for `onDeliveredElement ` is to close a resource that is being transferred via the channel. The
687
+ * A typical usage for `onUndeliveredElement ` is to close a resource that is being transferred via the channel. The
688
688
* following code pattern guarantees that opened resources are closed even if producer, consumer, and/or channel
689
689
* are cancelled. Resources are never lost.
690
690
*
You can’t perform that action at this time.
0 commit comments