beamly.core.lang

future

package future

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. future
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. class FutureSelector extends AnyRef

    A helper that polls for the completion of Java Futures.

  2. case class FutureTimeoutException(duration: Duration) extends RuntimeException with NoStackTrace with Product with Serializable

  3. sealed trait MaybeFuture[In] extends AnyRef

  4. trait MaybeFutureLowPriority extends AnyRef

  5. final class Promising[A] extends AnyVal

    Annotations
    @inline()

Value Members

  1. object FutureSelector

  2. object MaybeFuture extends MaybeFutureLowPriority

  3. package extensions

  4. implicit def futureBeamlyLang[A](underlying: Future[A]): FutureW[A]

    Annotations
    @inline()
  5. implicit def futureCompanionBeamlyLang(underlying: Future.type): FutureCompanionW

    Annotations
    @inline()
  6. implicit def futureEitherBeamlyLang[A](underlying: Future[Either[Throwable, A]]): FutureEitherW[A]

    Annotations
    @inline()
  7. implicit def futureFutureBeamlyLang[A](underlying: Future[Future[A]]): FutureFutureW[A]

    Annotations
    @inline()
  8. val futureNone: Future[Option[Nothing]]

  9. implicit def futureOptionBeamlyLang[A](underlying: Future[Option[A]]): FutureOptionW[A]

    Annotations
    @inline()
  10. implicit def futureTraversableBeamlyLang[A](underlying: Future[Traversable[A]]): FutureTraversableW[A]

    Annotations
    @inline()
  11. implicit def futureTryBeamlyLang[A](underlying: Future[Try[A]]): FutureTryW[A]

    Annotations
    @inline()
  12. val futureUnit: Future[Unit]

  13. def promising[A]: Promising[A]

    Returns a Promising[A], which can be applied on a function to fulfil a promise and return a future of that promise.

    Returns a Promising[A], which can be applied on a function to fulfil a promise and return a future of that promise.

    Note: if the function throws an exception, it will not be caught or fail the future.

    Example:

    promising[A](f: Promise[A] => Any): Future[A]

    Creates a promise, uses the provided function to fulfil the promise and then returns the future of the promise.

    A

    The type returned

    returns

    Future returned from the value

    Annotations
    @inline()

Inherited from AnyRef

Inherited from Any

Ungrouped