File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
kotlinx-coroutines-core/src/main/kotlin/kotlinx/coroutines/experimental/channels Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -26,15 +26,15 @@ import kotlin.coroutines.experimental.startCoroutine
26
26
/* *
27
27
* Scope for [produce] coroutine builder.
28
28
*/
29
- public interface ProducerScope <E > : CoroutineScope , SendChannel <E > {
29
+ public interface ProducerScope <in E > : CoroutineScope , SendChannel <E > {
30
30
/* *
31
31
* A reference to the channel that this coroutine [sends][send] elements to.
32
32
* It is provided for convenience, so that the code in the coroutine can refer
33
33
* to the channel as `channel` as apposed to `this`.
34
34
* All the [SendChannel] functions on this interface delegate to
35
35
* the channel instance returned by this function.
36
36
*/
37
- val channel: Channel <E >
37
+ val channel: SendChannel <E >
38
38
}
39
39
40
40
/* *
You can’t perform that action at this time.
0 commit comments