Supervisor

ox.Supervisor
trait Supervisor

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object NoOpSupervisor.type

Members list

Value members

Abstract methods

def forkError(e: Throwable): Unit
def forkStarts(): Unit
def forkSuccess(): Unit
def join(): Unit

Wait until the count of all supervised, user forks that are running reaches 0, or until any supervised fork fails with an exception.

Wait until the count of all supervised, user forks that are running reaches 0, or until any supervised fork fails with an exception.

The completion of this method is typically followed by ending the scope, which cancels any forks that are still running.

Note that (daemon) forks can still start supervised user forks after this method returns.

Attributes