WriterJob

interface WriterJob : Job

A coroutine job that is writing to a byte channel

Functions

Link copied to clipboard
abstract fun attachChild(child: ChildJob): ChildHandle
Link copied to clipboard
abstract fun cancel(cause: CancellationException?)
Link copied to clipboard
abstract fun getCancellationException(): CancellationException
Link copied to clipboard
abstract fun invokeOnCompletion(handler: CompletionHandler): DisposableHandle
abstract fun invokeOnCompletion(onCancelling: Boolean, invokeImmediately: Boolean, handler: CompletionHandler): DisposableHandle
Link copied to clipboard
abstract suspend fun join()
Link copied to clipboard
open operator fun plus(other: Job): Job
Link copied to clipboard
abstract fun start(): Boolean

Properties

Link copied to clipboard
abstract val channel: ByteReadChannel

A reference to the channel that this coroutine is writing to

Link copied to clipboard
abstract val children: Sequence<Job>
Link copied to clipboard
abstract val isActive: Boolean
Link copied to clipboard
abstract val isCancelled: Boolean
Link copied to clipboard
abstract val isCompleted: Boolean
Link copied to clipboard
abstract val onJoin: SelectClause0