public class ByteChannelsKt
| Modifier and Type | Method and Description |
|---|---|
static kotlin.Pair<kotlinx.coroutines.io.ByteReadChannel,kotlinx.coroutines.io.ByteReadChannel> |
split(kotlinx.coroutines.io.ByteReadChannel $receiver,
kotlinx.coroutines.CoroutineScope coroutineScope)
Split source ByteReadChannel into 2 new one.
Cancel of one channel in split(input or both outputs) cancels other channels.
|
public static kotlin.Pair<kotlinx.coroutines.io.ByteReadChannel,kotlinx.coroutines.io.ByteReadChannel> split(kotlinx.coroutines.io.ByteReadChannel $receiver,
kotlinx.coroutines.CoroutineScope coroutineScope)
Split source ByteReadChannel into 2 new one. Cancel of one channel in split(input or both outputs) cancels other channels.