object FutureUnlessShutdown
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- FutureUnlessShutdown
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- 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
- val abortedDueToShutdown: FutureUnlessShutdown[Nothing]
Immediately report UnlessShutdown.AbortedDueToShutdown
- def apply[A](x: Future[UnlessShutdown[A]]): FutureUnlessShutdown[A]
Close the type abstraction of FutureUnlessShutdown
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def failed[A](ex: Throwable): FutureUnlessShutdown[A]
Analog to scala.concurrent.Future
.failed
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def lift[A](x: UnlessShutdown[A]): FutureUnlessShutdown[A]
- def liftK: ~>[UnlessShutdown, FutureUnlessShutdown]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def outcomeF[A](f: Future[A])(implicit ec: ExecutionContext): FutureUnlessShutdown[A]
Wraps the result of a scala.concurrent.Future into an UnlessShutdown.Outcome
- 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)
. - def pure[A](x: A): FutureUnlessShutdown[A]
Analog to scala.concurrent.Future
.successful
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- val unit: FutureUnlessShutdown[Unit]
Analog to scala.concurrent.Future
.unit
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- object syntax