All Downloads are FREE. Search and download functionalities are using the official Maven repository.

jvmMain.scheduling.RaptorJobScheduler.kt Maven / Gradle / Ivy

There is a newer version: 0.26.0
Show newest version
package io.fluidsonic.raptor

import io.fluidsonic.raptor.di.*


public interface RaptorJobScheduler {

	public suspend fun queryStatus(id: String, group: RaptorJobGroup<*>): RaptorJobStatus?
	public suspend fun remove(id: String, group: RaptorJobGroup<*>)
	public suspend fun  schedule(id: String, group: RaptorJobGroup, data: Data, timing: RaptorJobTiming)
}


public val RaptorScope.jobScheduler: RaptorJobScheduler
	get() = di.get()




© 2015 - 2024 Weber Informatics LLC | Privacy Policy