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

io.getquill.sources.async.TransactionalExecutionContext.scala Maven / Gradle / Ivy

There is a newer version: 3.12.0
Show newest version
package io.getquill.sources.async

import scala.concurrent.ExecutionContext

import com.github.mauricio.async.db.Connection

case class TransactionalExecutionContext(ec: ExecutionContext, conn: Connection)
  extends ExecutionContext {

  def execute(runnable: Runnable): Unit =
    ec.execute(runnable)

  def reportFailure(cause: Throwable): Unit =
    ec.reportFailure(cause)
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy