AutoDisposableJob

class AutoDisposableJob(view: View, wrapped: Job) : Job, View.OnAttachStateChangeListener

Constructors

Link copied to clipboard
constructor(view: View, wrapped: Job)

Properties

Link copied to clipboard
open override val children: Sequence<Job>
Link copied to clipboard
open override val isActive: Boolean
Link copied to clipboard
open override val isCancelled: Boolean
Link copied to clipboard
open override val isCompleted: Boolean
Link copied to clipboard
open override val key: CoroutineContext.Key<*>
Link copied to clipboard
open override val onJoin: SelectClause0
Link copied to clipboard
open override val parent: Job?

Functions

Link copied to clipboard
Link copied to clipboard
open override fun attachChild(child: ChildJob): ChildHandle
Link copied to clipboard
open override fun cancel(cause: CancellationException?)
Link copied to clipboard
fun Job?.cancelIfActive()

Cancel the Job if it's active.

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
open override fun getCancellationException(): CancellationException
Link copied to clipboard
open override fun invokeOnCompletion(handler: CompletionHandler): DisposableHandle
open override fun invokeOnCompletion(onCancelling: Boolean, invokeImmediately: Boolean, handler: CompletionHandler): DisposableHandle
Link copied to clipboard
open suspend override fun join()
Link copied to clipboard
open override fun minusKey(key: CoroutineContext.Key<*>): CoroutineContext
Link copied to clipboard
open override fun onViewAttachedToWindow(v: View)
Link copied to clipboard
open override fun onViewDetachedFromWindow(v: View)
Link copied to clipboard
open operator override fun plus(context: CoroutineContext): CoroutineContext
open operator override fun plus(other: Job): Job
Link copied to clipboard
open override fun start(): Boolean