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

pl.touk.nussknacker.engine.api.process.AsyncExecutionContextPreparer.scala Maven / Gradle / Ivy

The newest version!
package pl.touk.nussknacker.engine.api.process

import scala.concurrent.ExecutionContext

// TODO: rename me to ServiceExecutionContextPreparer in the future (it will break the backward compatibility, so we
//       should do it together with other breaking API changes.
trait AsyncExecutionContextPreparer {

  def bufferSize: Int

  def defaultUseAsyncInterpretation: Option[Boolean]
  def prepare(processName: ProcessName): ServiceExecutionContext

  def close(): Unit
}

final case class ServiceExecutionContext(executionContext: ExecutionContext)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy