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

com.swoval.test.ShutdownHooks.scala Maven / Gradle / Ivy

The newest version!
package com.swoval.test

object ShutdownHooks extends ShutdownHooks {
  private final val impl: ShutdownHooks = platform.shutdownHooks
  def add(thread: Thread): Unit = impl.add(thread)
  def remove(thread: Thread): Unit = impl.remove(thread)
}
trait ShutdownHooks {
  def add(thread: Thread): Unit
  def remove(thread: Thread): Unit
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy