RenderingScope

fun RenderingScope(): CoroutineScope

Creates a coroutine scope in the rendering thread with a supervisor job. Allows to manage multiple tasks executed on the main rendering thread within a single scope, providing mass actions such as task cancelling that do not affect other scopes.

An alternative to direct usage of the global KtxAsync.

See also

MainScope