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

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

There is a newer version: 0.27.0
Show newest version
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