com
.
thoughtworks
.
future
.
continuation
Continuation
Related Doc:
package continuation
object
Continuation
Source
continuation.scala
Linear Supertypes
AnyRef
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
Continuation
AnyRef
Any
Hide All
Show All
Visibility
Public
All
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
def
apply
[
R
,
A
]
(
run: ((
A
) ⇒
Trampoline
[
R
]) ⇒
Trampoline
[
R
]
)
:
Continuation
[
R
,
A
]
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
async
[
R
,
A
]
(
run: ((
A
) ⇒
R
) ⇒
R
)
:
Continuation
[
R
,
A
]
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
implicit
def
continuationMonad
[
R
]
:
Monad
[[β$0$]
OpacityTypes.Continuation
[
R
,
β$0$
]] with
BindRec
[[β$1$]
OpacityTypes.Continuation
[
R
,
β$1$
]] with
Zip
[[β$2$]
OpacityTypes.Continuation
[
R
,
β$2$
]]
implicit
object
continuationParallelApplicative
extends
Applicative
[
ParallelContinuation
] with
Zip
[
ParallelContinuation
]
def
delay
[
R
,
A
]
(
a: ⇒
A
)
:
Continuation
[
R
,
A
]
Annotations
@inline
()
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
execute
[
A
]
(
a: ⇒
A
)
(
implicit
executionContext:
ExecutionContext
)
:
Continuation
[
Unit
,
A
]
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
def
fromContTTrampoline
[
R
,
A
]
(
contT:
ContT
[
Trampoline
,
R
, _ <:
A
]
)
:
Continuation
[
R
,
A
]
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
def
now
[
R
,
A
]
(
a:
A
)
:
Continuation
[
R
,
A
]
def
onComplete
[
R
,
A
]
(
continuation:
Continuation
[
R
,
A
]
)
(
continue: (
A
) ⇒
R
)
:
R
Annotations
@inline
()
def
run
[
R
,
A
]
(
continuation:
Continuation
[
R
,
A
]
)
(
continue: (
A
) ⇒
Trampoline
[
R
]
)
:
Trampoline
[
R
]
Annotations
@inline
()
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
toContTTrampoline
[
R
,
A
]
(
continuation:
Continuation
[
R
,
A
]
)
:
ContT
[
Trampoline
,
R
, _ <:
A
]
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
@throws
(
...
)
Inherited from
AnyRef
Inherited from
Any
Ungrouped