abstract class AbsIntervalExecutor : IIntervalExecutor
Can be used as a base class for any IIntervalExecutor implementing classes.
<init> |
Can be used as a base class for any IIntervalExecutor implementing classes. AbsIntervalExecutor(interval: IDurationEx, scope: CoroutineScopeEx) |
active |
open var active: Boolean |
activeObservable |
open val activeObservable: Observable<Boolean> |
callback |
open val callback: suspend () -> Unit |
executeCounter |
var executeCounter: Int |
interval |
open val interval: IDurationEx |
onActiveStateChanged |
open val onActiveStateChanged: () -> Unit |
scope |
val scope: CoroutineScopeEx |
release |
Removes all external class references. Has to be called when the implementing class is not needed anymore. open fun release(): Unit |
IntervalExecutor |
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. open class IntervalExecutor : AbsIntervalExecutor |