aboutsummaryrefslogtreecommitdiff
path: root/src/main/scala/scala/async/StateMachine.scala
blob: 823df7186b3e321310af4966499561d97c47bdf7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
/*
 * Copyright (C) 2012 Typesafe Inc. <http://www.typesafe.com>
 */

package scala.async

/** Internal class used by the `async` macro; should not be manually extended by client code */
abstract class StateMachine[Result, EC] extends (scala.util.Try[Any] => Unit) with (() => Unit) {
  def result: Result

  def execContext: EC
}