object CancelablePromise
- Alphabetic
- By Inheritance
- CancelablePromise
- AnyRef
- Any
- Hide All
- Show All
- 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[A](ps: PaddingStrategy = NoPadding): CancelablePromise[A]
Builds an empty CancelablePromise object.
Builds an empty CancelablePromise object.
- A
the type of the value in the promise
- ps
is a configurable PaddingStrategy to avoid the false sharing problem
- returns
the newly created promise object
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
failed[A](e: Throwable): CancelablePromise[A]
Creates a CancelablePromise that's already completed in error.
Creates a CancelablePromise that's already completed in error.
- e
is the error to signal to subscribers
- returns
the newly created promise object
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
fromTry[A](value: Try[A]): CancelablePromise[A]
Creates an already completed CancelablePromise with the specified result or exception.
Creates an already completed CancelablePromise with the specified result or exception.
- value
is the scala.util.Try result to signal to subscribers
- returns
the newly created promise object
-
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()
-
def
successful[A](value: A): CancelablePromise[A]
Creates a CancelablePromise that's already completed with the given successful result.
Creates a CancelablePromise that's already completed with the given successful result.
- value
is the successful result to signal to subscribers
- returns
the newly created promise object
-
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( ... )