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

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

The newest version!
package io.fluidsonic.raptor


public interface RaptorJobExecutor {

	public val group: RaptorJobGroup
	public val execute: suspend RaptorContext.(data: Data) -> Unit
}


public fun  RaptorJobGroup.executor(
	execute: suspend RaptorContext.(data: Data) -> Unit,
): RaptorJobExecutor =
	RaptorJobExecutorImpl(group = this, execute = execute)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy