mirror of
https://github.com/InsanusMokrassar/krontab.git
synced 2024-11-26 03:58:50 +00:00
commit
a81c7c7c3f
@ -26,7 +26,7 @@ Anyway, to start some action from time to time you will need to use one of exten
|
|||||||
```kotlin
|
```kotlin
|
||||||
val kronScheduler = /* creating of KronScheduler instance */;
|
val kronScheduler = /* creating of KronScheduler instance */;
|
||||||
|
|
||||||
kronScheuler.doWhile {
|
kronScheduler.doWhile {
|
||||||
// some action
|
// some action
|
||||||
true // true - repeat on next time
|
true // true - repeat on next time
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user