doOnGlobal

fun doOnGlobal(enableLog: Boolean = true, onLog: (text: String) -> Unit = {}, func: suspend () -> Unit)

Deprecated

GlobalScope is delicated api

Replace with

doOnUI or doOnMain