mirror of
https://github.com/InsanusMokrassar/krontab.git
synced 2026-11-04 10:32:59 +00:00
fix for EverySecondScheduler
This commit is contained in:
1 parent
686716e20f
commit
565aff4538
2 files changed
+4
-2
No files matched your search
@@ -18,8 +18,9 @@ val AnyTimeScheduler: KronScheduler by lazy {
|
||||
/**
|
||||
* [KronScheduler.next] will always return [com.soywiz.klock.DateTime.now] + one second
|
||||
*/
|
||||
val EverySecondScheduler: KronScheduler
|
||||
get() = AnyTimeScheduler
|
||||
val EverySecondScheduler: KronScheduler by lazy {
|
||||
buildSchedule { seconds { 0 every 1 } }
|
||||
}
|
||||
|
||||
/**
|
||||
* [KronScheduler.next] will always return [com.soywiz.klock.DateTime.now] + one minute
|
||||
|
||||
Reference in new issue
Block a user