implicit final class NonEmptyHotswapOptionalResourcesOpt[F[_], R] extends AnyVal
- Source
- NonEmptyHotswap.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- NonEmptyHotswapOptionalResourcesOpt
- AnyVal
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new NonEmptyHotswapOptionalResourcesOpt(hs: NonEmptyHotswap[F, Option[R]])
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 clear: F[Unit]
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- def getOpt(implicit F: kernel.MonadCancel[F, Throwable]): kernel.Resource[F, Option[R]]
When the cats.effect.kernel.Resource contained by a NonEmptyHotswap is wrapped in an scala.Option it is not desirable to prevent calls to NonEmptyHotswap.swap when the Resource contains scala.None.
When the cats.effect.kernel.Resource contained by a NonEmptyHotswap is wrapped in an scala.Option it is not desirable to prevent calls to NonEmptyHotswap.swap when the Resource contains scala.None.
getOpt preserves this behavior from Hotswap.get
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def toString(): String
- Definition Classes
- Any