ShutdownHookThread

scala.sys.ShutdownHookThread
See theShutdownHookThread companion class

Attributes

Companion
class
Source
ShutdownHookThread.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def apply(body: => Unit): ShutdownHookThread

Creates, names, and registers a shutdown hook to run the given code.

Creates, names, and registers a shutdown hook to run the given code.

Attributes

Source
ShutdownHookThread.scala