Packages

object Interruptor

Companion object that provides a factory method for an Interruptor defined in terms of a function from a function of type Thread to Unit.

Source
Interruptor.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Interruptor
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. def apply(fun: (Thread) ⇒ Unit): Interruptor

    Factory method for an Interruptor defined in terms of a function from a function of type Thread to Unit.

    Factory method for an Interruptor defined in terms of a function from a function of type Thread to Unit.

    When this apply method is invoked, it will invoke the passed function's apply method, forwarding along the passed Thread.

    fun

    the function representing the interruption strategy