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
- Alphabetic
- By Inheritance
- ThreadInterruptor
- Interruptor
- Function1
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
def
andThen[A](g: (Unit) ⇒ A): (Thread) ⇒ A
- Definition Classes
- Function1
- Annotations
- @unspecialized()
-
def
apply(testThread: Thread): Unit
Invokes
interrupt
on the passedThread
.Invokes
interrupt
on the passedThread
.- testThread
the
Thread
to interrupt
- Definition Classes
- ThreadInterruptor → Interruptor → Function1
-
def
compose[A](g: (A) ⇒ Thread): (A) ⇒ Unit
- Definition Classes
- Function1
- Annotations
- @unspecialized()
-
def
toString(): String
- Definition Classes
- Function1 → AnyRef → Any