File tree 1 file changed +1
-2
lines changed
kotlinx-coroutines-core/common/src/channels 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -105,6 +105,7 @@ public interface SendChannel<in E> {
105
105
* * the cause of `close` or `cancel` otherwise.
106
106
*
107
107
* Example of usage (exception handling is omitted):
108
+ *
108
109
* ```
109
110
* val events = Channel(UNLIMITED)
110
111
* callbackBasedApi.registerCallback { event ->
@@ -117,7 +118,6 @@ public interface SendChannel<in E> {
117
118
* }
118
119
*
119
120
* events.invokeOnClose { callbackBasedApi.stop() }
120
- *
121
121
* ```
122
122
*
123
123
* **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> {
280
280
@Deprecated(level = DeprecationLevel .HIDDEN , message = " Since 1.2.0, binary compatibility with versions <= 1.1.x" )
281
281
public fun cancel (cause : Throwable ? = null): Boolean
282
282
283
-
284
283
/* *
285
284
* **Deprecated** poll method.
286
285
*
You can’t perform that action at this time.
0 commit comments