o

com.digitalasset.canton.lifecycle

FutureUnlessShutdown

object FutureUnlessShutdown

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FutureUnlessShutdown
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val abortedDueToShutdown: FutureUnlessShutdown[Nothing]

    Immediately report UnlessShutdown.AbortedDueToShutdown

  5. def apply[A](x: Future[UnlessShutdown[A]]): FutureUnlessShutdown[A]

    Close the type abstraction of FutureUnlessShutdown

  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. def failed[A](ex: Throwable): FutureUnlessShutdown[A]

    Analog to scala.concurrent.Future.failed

  11. def fromTry[T](result: Try[T]): FutureUnlessShutdown[T]

    Analog to scala.concurrent.Future.fromTry

  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. def lift[A](x: UnlessShutdown[A]): FutureUnlessShutdown[A]
  16. def liftK: ~>[UnlessShutdown, FutureUnlessShutdown]
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. def outcomeF[A](f: Future[A])(implicit ec: ExecutionContext): FutureUnlessShutdown[A]

    Wraps the result of a scala.concurrent.Future into an UnlessShutdown.Outcome

  21. def outcomeK(implicit ec: ExecutionContext): ~>[Future, FutureUnlessShutdown]

    outcomeF as a cats.arrow.FunctionK to be used with Cat's mapK operation.

    outcomeF as a cats.arrow.FunctionK to be used with Cat's mapK operation.

    Can be used to switch from scala.concurrent.Future to FutureUnlessShutdown inside another functor/applicative/monad such as cats.data.EitherT via eitherT.mapK(outcomeK).

  22. def pure[A](x: A): FutureUnlessShutdown[A]

    Analog to scala.concurrent.Future.successful

  23. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  24. def toString(): String
    Definition Classes
    AnyRef → Any
  25. val unit: FutureUnlessShutdown[Unit]

    Analog to scala.concurrent.Future.unit

  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  28. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped