onCreateProgressBar

open override fun onCreateProgressBar(callback: context(Simulator) (label: String, delay: Duration) -> Unit)

Registers a callback to be invoked when a progress bar should be displayed.

Parameters

callback

the function to invoke with label and delay information