implicit final class EitherTOnShutdownSyntax[A, B] extends AnyVal
Enable onShutdown
syntax on cats.data.EitherT[
FutureUnlessShutdown...]
.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- EitherTOnShutdownSyntax
- AnyVal
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new EitherTOnShutdownSyntax(eitherT: EitherT[FutureUnlessShutdown, A, B])
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##: Int
- Definition Classes
- Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def failOnShutdownTo[C >: A, D >: B](t: => Throwable)(implicit ec: ExecutionContext): EitherT[Future, C, D]
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def onShutdown[C >: A, D >: B](f: => Either[C, D])(implicit ec: ExecutionContext): EitherT[Future, C, D]
- def tapOnShutdown(f: => Unit)(implicit ec: ExecutionContext, errorLoggingContext: ErrorLoggingContext): EitherT[FutureUnlessShutdown, A, B]
Evaluates
f
on shutdown but retains the result of the future. - def toString(): String
- Definition Classes
- Any