//tvlib/org.mjdev.tvlib.extensions/GlobalExt
GlobalExt
[androidJvm]\ object GlobalExt
Properties
| Name | Summary |
|---|---|
| IO | [androidJvm] val IO: CoroutineDispatcher |
| UI | [androidJvm] val UI: MainCoroutineDispatcher |
Functions
| Name | Summary |
|---|---|
| equals | [androidJvm] open operator fun equals(other: Any?): Boolean |
| hashCode | [androidJvm] open fun hashCode(): Int |
| launch | [androidJvm] fun launch(context: CoroutineContext = IO, start: CoroutineStart = CoroutineStart.DEFAULT, block: suspend CoroutineScope.() -> Unit): Job |
| launchInMain | [androidJvm] fun launchInMain(block: suspend CoroutineScope.() -> Unit): Job |
| launchIO | [androidJvm] fun launchIO(block: suspend CoroutineScope.() -> Unit): Job |
| launchUI | [androidJvm] fun launchUI(block: suspend CoroutineScope.() -> Unit): Job |
| postDelayed | [androidJvm] fun <T> T.postDelayed(delay: Long, block: T.() -> Unit): Boolean |
| toggle | [androidJvm] fun MutableState<Boolean>.toggle() |
| toString | [androidJvm] open fun toString(): String |
| with | [androidJvm] inline fun <T> with(receiver: T, block: T.() -> Unit): T |
| withScope | [androidJvm] fun <T> withScope(scope: T, block: T.() -> Unit) |