setSupervisionPeriod

abstract suspend fun setSupervisionPeriod(supervisionPeriod: Int, updateProgress: suspend (progress: Progress) -> Unit = {})

Set supervision period

Parameters

supervisionPeriod

Supervision period in seconds, (-1) to disable supervision

updateProgress

Update progress of operation