scalaz
.
concurrent
Promise
object
Promise
extends
PromiseInstances
with
PromiseFunctions
Annotations
@deprecated
Deprecated
(Since version 7.1)
use
Future
or other concurrency abstractions
Source
Promise.scala
Linear Supertypes
PromiseFunctions
,
PromiseInstances
,
AnyRef
,
Any
Ordering
Alphabetic
By inheritance
Inherited
Promise
PromiseFunctions
PromiseInstances
AnyRef
Any
Hide All
Show all
Learn more about member selection
Visibility
Public
All
Type Members
class
Break
[
A
]
extends
Signal
[
A
]
Attributes
protected[
scalaz.concurrent
]
sealed
class
BrokenException
extends
Exception
class
Cont
[
A
]
extends
Signal
[
A
]
Attributes
protected[
scalaz.concurrent
]
class
Done
[
A
]
extends
Signal
[
A
]
Attributes
protected[
scalaz.concurrent
]
case class
Fulfilled
[
A
]
(
get:
A
)
extends
State
[
A
] with
Product
with
Serializable
Attributes
protected
sealed abstract
class
Signal
[
A
]
extends
AnyRef
Attributes
protected[
scalaz.concurrent
]
sealed abstract
class
State
[
+A
]
extends
AnyRef
Attributes
protected
case class
Thrown
(
e:
Throwable
)
extends
State
[
Nothing
] with
Product
with
Serializable
Attributes
protected
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
object
Unfulfilled
extends
State
[
Nothing
] with
Product
with
Serializable
Attributes
protected
def
apply
[
A
]
(
a: ⇒
A
)
(
implicit
s:
Strategy
)
:
Promise
[
A
]
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
emptyPromise
[
A
]
(
implicit
s:
Strategy
)
:
Promise
[
A
]
Definition Classes
PromiseFunctions
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
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
promise
[
A
]
(
a: ⇒
A
)
(
implicit
s:
Strategy
)
:
Promise
[
A
]
Definition Classes
PromiseFunctions
implicit
def
promiseInstance
(
implicit
s:
Strategy
)
:
Traverse
[
Promise
] with
Monad
[
Promise
] with
Comonad
[
Promise
]
Definition Classes
PromiseInstances
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
@throws
(
...
)
Inherited from
PromiseFunctions
Inherited from
PromiseInstances
Inherited from
AnyRef
Inherited from
Any
Ungrouped
(Since version 7.1) use
Future
or other concurrency abstractions