toggle menu
ktor
3.0.x
Select version
3.3.x
3.2.x
3.1.x
3.0.x
2.3.x
2.2.x
2.0.x
1.6.x
common
switch theme
search in API
ktor-io
/
io.ktor.utils.io
/
attachJob
attach
Job
fun
ByteChannel
.
attachJob
(
job
:
Job
)
fun
ByteChannel
.
attachJob
(
job
:
ChannelJob
)
Ensures that when the given job is canceled, the ByteChannel is canceled with the same exception.