presentDuring

suspend fun <T> BaseHUD.presentDuring(animated: Boolean = true, block: suspend BaseHUD.() -> T): T

Deprecated

This feature has been deprecated. It is recommended to use Compose Multiplatform instead.

Presents and keep presenting the indicator during block execution, hides view after block finished.

Parameters

animated

Pass true to animate the transition

block

The block to execute with hud visible