From e5bbea84d91b4bd835d0b75a96bd27a25ef462f8 Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Tue, 20 Jun 2023 10:41:46 +0600 Subject: [PATCH] update changelog and kdocs --- CHANGELOG.md | 4 ++-- .../kotlin/dev/inmo/krontab/builder/SchedulerBuilder.kt | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 19ffddc..b4dff22 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,8 +5,8 @@ * Versions * `Kotlin`: `1.8.22` * `Klock`: `4.0.3` -* New value class `KrontabConfig`. Since this update, it is preferable way to create `KronScheduler` instead of - `KrontabTemplate` +* New value class `KrontabConfig`. It is preferable way to create `KronScheduler` instead of + `KrontabTemplate` since this update * You may configure krontab with builders using simple `KronScheduler` invoke extension * New useful extensions like `KronScheduler.daily` * `KrontabTemplateWrapper` is obsolete in favor to `KrontabConfig` diff --git a/src/commonMain/kotlin/dev/inmo/krontab/builder/SchedulerBuilder.kt b/src/commonMain/kotlin/dev/inmo/krontab/builder/SchedulerBuilder.kt index db60fa4..681f2c6 100644 --- a/src/commonMain/kotlin/dev/inmo/krontab/builder/SchedulerBuilder.kt +++ b/src/commonMain/kotlin/dev/inmo/krontab/builder/SchedulerBuilder.kt @@ -41,7 +41,7 @@ inline fun buildSchedule( /** * Creates new [KronScheduler] with [settingsBlock] * - * Due to the fact that it is inline function, you may break execution of [settingsBlock] + * Since it is inline function, you may break execution of [settingsBlock] * at any time */ inline operator fun KronScheduler.Companion.invoke( @@ -52,7 +52,7 @@ inline operator fun KronScheduler.Companion.invoke( /** * Creates new [KronScheduler] with [settingsBlock] * - * Due to the fact that it is inline function, you may break execution of [settingsBlock] + * Since it is inline function, you may break execution of [settingsBlock] * at any time */ inline operator fun KronScheduler.Companion.invoke(