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

akka.actor.typed.Dispatchers.scala Maven / Gradle / Ivy

/*
 * Copyright (C) 2016-2018 Lightbend Inc. 
 */

package akka.actor.typed

import scala.concurrent.ExecutionContextExecutor

object Dispatchers {
  /**
   * The id of the default dispatcher, also the full key of the
   * configuration of the default dispatcher.
   */
  final val DefaultDispatcherId = "akka.actor.default-dispatcher"
}

/**
 * An [[ActorSystem]] looks up all its thread pools via a Dispatchers instance.
 */
abstract class Dispatchers {
  def lookup(selector: DispatcherSelector): ExecutionContextExecutor
  def shutdown(): Unit
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy