trait FutureSystem extends AnyRef
An abstraction over a future system.
Used by the macro implementations in scala.async.internal.AsyncBase to customize the code generation.
The API mirrors that of scala.concurrent.Future, see the instance
ScalaConcurrentFutureSystem for an example of how
to implement this.
- Alphabetic
- By Inheritance
- FutureSystem
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
abstract
type
ExecContext
An execution context, required to create or register an on completion callback on a Future.
-
abstract
type
Fut[A]
A (potentially in-progress) computation
- trait Ops extends AnyRef
-
abstract
type
Prom[A]
A container to receive the final value of the computation
-
abstract
type
Tryy[T]
Any data type isomorphic to scala.util.Try.
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- def emitTryCatch: Boolean
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
Deprecated Value Members
-
def
freshenAllNames: Boolean
- Annotations
- @deprecated
- Deprecated
(Since version 0.9.7) No longer honoured by the macro, all generated names now contain $async to avoid accidental clashes with lambda lifted names
-
def
resultFieldName: String
- Annotations
- @deprecated
- Deprecated
(Since version 0.9.7) No longer honoured by the macro, all generated names now contain $async to avoid accidental clashes with lambda lifted names