SchedulerExecutorServiceTimeoutProvider

mockws.SchedulerExecutorServiceTimeoutProvider

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

class DaemonizingThreadFactory(underlying: ThreadFactory) extends ThreadFactory

If for some reason, people use this library in non-test code, then scheduled timeouts shouldn't prevent JVM termination if it would otherwise exit normally.

If for some reason, people use this library in non-test code, then scheduled timeouts shouldn't prevent JVM termination if it would otherwise exit normally.

Attributes

Supertypes
trait ThreadFactory
class Object
trait Matchable
class Any

Value members

Concrete methods

override def timeout[T](future: Future[T], delay: FiniteDuration, msg: String): Future[T]

Times out the future after the specified delay.

Times out the future after the specified delay.

Attributes

Definition Classes