ReaderJob

interface ReaderJob : Job

A coroutine job that is reading from a byte channel

Functions

Link copied to clipboard
abstract fun attachChild(child: ChildJob): ChildHandle
Link copied to clipboard
open fun cancel()
abstract fun cancel(cause: Throwable?): Boolean
abstract fun cancel(cause: CancellationException?)
Link copied to clipboard
open override fun <R> fold(initial: R, operation: (R, CoroutineContext.Element) -> R): R
Link copied to clipboard
open operator override fun <E : CoroutineContext.Element> get(key: CoroutineContext.Key<E>): E?
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 override fun minusKey(key: CoroutineContext.Key<*>): CoroutineContext
Link copied to clipboard
open operator fun plus(context: CoroutineContext): CoroutineContext
open operator fun plus(other: Job): Job
Link copied to clipboard
abstract fun start(): Boolean

Properties

Link copied to clipboard
abstract val channel: ByteWriteChannel

A reference to the channel that this coroutine is reading from

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 key: CoroutineContext.Key<*>
Link copied to clipboard
abstract val onJoin: SelectClause0