Packages

o

org.scalatest.concurrent

ThreadInterruptor

object ThreadInterruptor extends Interruptor

Strategy for interrupting an operation in which interrupt is called on the Thread passed to apply.

This object can be used for configuration when using traits Timeouts and TimeLimitedTests.

Annotations
@deprecated
Deprecated

Please use org.scalatest.concurrent.Signaler instead.

Source
ThreadInterruptor.scala
Linear Supertypes
Interruptor, (Thread) ⇒ Unit, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ThreadInterruptor
  2. Interruptor
  3. Function1
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. def andThen[A](g: (Unit) ⇒ A): (Thread) ⇒ A
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  2. def apply(testThread: Thread): Unit

    Invokes interrupt on the passed Thread.

    Invokes interrupt on the passed Thread.

    testThread

    the Thread to interrupt

    Definition Classes
    ThreadInterruptorInterruptor → Function1
  3. def compose[A](g: (A) ⇒ Thread): (A) ⇒ Unit
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  4. def toString(): String
    Definition Classes
    Function1 → AnyRef → Any