you could try something like ``` val su = async { ...
# announcements
c
you could try something like
Copy code
val su = async { Shell.SU.available() }

//some work that doesn't need it

//assume no superuser
if (su.getNow(false))
if you need it on the main thread later on or maybe something like
Copy code
async {
    val suTask = async { Shell.SU.available() }
    //some more work on another thread
    val su = await(suTask)

    if (su) ...
}