lib / tv.smartclip.smartclientandroid.lib.utils / IntervalExecutor

IntervalExecutor

open class IntervalExecutor : AbsIntervalExecutor

Same as AbsIntervalExecutor but with a callback property already defined. Can be used as a base class or a delegate for any IIntervalExecutor implementing classes.

Constructors

<init>

Same as AbsIntervalExecutor but with a callback property already defined. Can be used as a base class or a delegate for any IIntervalExecutor implementing classes.

IntervalExecutor(interval: IDurationEx, scope: CoroutineScopeEx, onActiveStateChanged: () -> Unit = {}, callback: suspend () -> Unit)

Properties

callback

open val callback: suspend () -> Unit

onActiveStateChanged

open val onActiveStateChanged: () -> Unit