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

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

  20. 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).

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

    Analog to scala.concurrent.Future.successful

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

    Analog to scala.concurrent.Future.unit

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

Deprecated Value Members

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

Inherited from AnyRef

Inherited from Any

Ungrouped