c

scala.tools.nsc.util

InterruptReq

abstract class InterruptReq extends AnyRef

A class of work items to be used in interrupt requests. Todo: we should replace the Eithers by Futures or Try's.

Source
InterruptReq.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. InterruptReq
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new InterruptReq()

Type Members

  1. type Continuation = (Either[R, Throwable]) ⇒ Unit
  2. abstract type R

    The result type of the operation

Concrete Value Members

  1. def execute(): Unit

    To be called from interrupted server to execute demanded task

  2. def getResult(): R

    To be called from interrupting client to get result for interrupt

  3. def onComplete(k: Continuation): Unit