scala.util.continuations

cpsParam

class cpsParam[-B, +C] extends Annotation with StaticAnnotation with TypeConstraint

This annotation is used to mark a parameter as part of a continuation context.

The type A @cpsParam[B,C] is desugared to ControlContext[A,B,C] at compile time.

B

The type of computation state after computation has executed, and before control is returned to the shift.

C

The eventual return type of this delimited compuation.

See also

scala.util.continuations.ControlContext

Linear Supertypes
TypeConstraint, StaticAnnotation, Annotation, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. cpsParam
  2. TypeConstraint
  3. StaticAnnotation
  4. Annotation
  5. AnyRef
  6. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new cpsParam()