Package-level declarations
Types
Link copied to clipboard
class PeriodikBuilder<Type>(schedule: Schedule, currentInstant: Periodik<Type>.() -> Instant = { Instant.now() }, adjustment: Periodik<Type>.(Instant) -> Instant = { it }, dispatcher: CoroutineDispatcher = Periodik.defaultDispatcher, wait: suspend Periodik<Type>.(Duration) -> Unit = { delay(it) }, debug: Periodik<Type>.(String) -> Unit = { println(it) }, log: Periodik<Type>.(String) -> Unit = { println(it) }, error: Periodik<Type>.(String) -> Nothing = { System.err.println(it); throw IllegalStateException(it) }, deferInitialization: Boolean = false)
A builder for Periodik instances with default behaviors and allowing for customizations