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

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

The newest version!
package io.fluidsonic.raptor.transactions

import io.fluidsonic.raptor.*


public interface RaptorTransactionFactory {

	public fun createTransaction(context: RaptorContext, configuration: RaptorTransactionConfigurationScope.() -> Unit = {}): RaptorTransaction


	public companion object {

		public val empty: RaptorTransactionFactory = DefaultTransactionFactory(
			configurations = emptyList(),
			observers = emptyList(),
		)
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy