ApplicationCoroutineScope

@Singleton
class ApplicationCoroutineScope : CoroutineScope, AutoCloseable

Application wide coroutine scope. Should start and die with the rest of the application, along with child coroutines (structured concurrency).

This should be the main interception point to place user specific CoroutineContext.Element objects. Things like activity ids, logger context propagation, tracing, exception handlers, etc.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

Functions

Link copied to clipboard
@PreDestroy
open override fun close()