Skip to content

Commit 6d0b630

Browse files
committed
~ Spacing in docs
1 parent 3ba936b commit 6d0b630

File tree

1 file changed

+1
-2
lines changed
  • kotlinx-coroutines-core/common/src/channels

1 file changed

+1
-2
lines changed

kotlinx-coroutines-core/common/src/channels/Channel.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ public interface SendChannel<in E> {
105105
* * the cause of `close` or `cancel` otherwise.
106106
*
107107
* Example of usage (exception handling is omitted):
108+
*
108109
* ```
109110
* val events = Channel(UNLIMITED)
110111
* callbackBasedApi.registerCallback { event ->
@@ -117,7 +118,6 @@ public interface SendChannel<in E> {
117118
* }
118119
*
119120
* events.invokeOnClose { callbackBasedApi.stop() }
120-
*
121121
* ```
122122
*
123123
* **Note: This is an experimental api.** This function may change its semantics, parameters or return type in the future.
@@ -280,7 +280,6 @@ public interface ReceiveChannel<out E> {
280280
@Deprecated(level = DeprecationLevel.HIDDEN, message = "Since 1.2.0, binary compatibility with versions <= 1.1.x")
281281
public fun cancel(cause: Throwable? = null): Boolean
282282

283-
284283
/**
285284
* **Deprecated** poll method.
286285
*

0 commit comments

Comments
 (0)