File tree 1 file changed +4
-4
lines changed
kotlinx-coroutines-core/common/src/channels
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2016-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
2
+ * Copyright 2016-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
3
3
*/
4
4
5
5
package kotlinx.coroutines.channels
@@ -30,16 +30,16 @@ import kotlin.native.concurrent.*
30
30
* It causes eventual failure of the broadcast coroutine and cancellation of the underlying channel, too,
31
31
* but it is not as prompt.
32
32
*
33
- * ### Obsolete
33
+ * ### Future replacement
34
34
*
35
35
* This function has an inappropriate result type of [BroadcastChannel] which provides
36
36
* [send][BroadcastChannel.send] and [close][BroadcastChannel.close] operations that interfere with
37
37
* the broadcasting coroutine in hard-to-specify ways. It will be replaced with
38
- * sharing operators on [Flow][kotlinx.coroutines.flow.Flow].
38
+ * sharing operators on [Flow][kotlinx.coroutines.flow.Flow] in the future .
39
39
*
40
40
* @param start coroutine start option. The default value is [CoroutineStart.LAZY].
41
41
*/
42
- @ObsoleteCoroutinesApi // since version 1.4.0
42
+ // @ObsoleteCoroutinesApi // since version 1.4.0
43
43
fun <E > ReceiveChannel<E>.broadcast (
44
44
capacity : Int = 1,
45
45
start : CoroutineStart = CoroutineStart .LAZY
You can’t perform that action at this time.
0 commit comments