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

jvmMain.api.RaptorLifecycle.kt Maven / Gradle / Ivy

package io.fluidsonic.raptor.lifecycle

import kotlinx.coroutines.*


public interface RaptorLifecycle : CoroutineScope {

	public val state: State

	public suspend fun startIn(scope: CoroutineScope)
	public suspend fun stop()


	public enum class State {

		started,
		starting,
		stopped,
		stopping
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy