Signaler

org.scalatest.concurrent.Signaler
See theSignaler companion trait
object Signaler

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

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Signaler.type

Members list

Value members

Concrete methods

def apply(fun: Thread => Unit): Signaler

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

Factory method for a Signaller 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.

Value parameters

fun

the function representing the signaling strategy

Attributes

Implicits

Implicits

implicit def default: Signaler

Implicit Signaler value defining a default signaling strategy for the failAfter and cancelAfter method of trait org.scalatest.concurrent.TimeLimits.

Implicit Signaler value defining a default signaling strategy for the failAfter and cancelAfter method of trait org.scalatest.concurrent.TimeLimits.

Attributes