Packages

c

cats.effect.std.NonEmptyHotswap

NonEmptyHotswapOptionalResourcesOpt

implicit final class NonEmptyHotswapOptionalResourcesOpt[F[_], R] extends AnyVal

Source
NonEmptyHotswap.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NonEmptyHotswapOptionalResourcesOpt
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new NonEmptyHotswapOptionalResourcesOpt(hs: NonEmptyHotswap[F, Option[R]])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##: Int
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clear: F[Unit]
  6. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  7. 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

  8. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  9. def toString(): String
    Definition Classes
    Any

Inherited from AnyVal

Inherited from Any

Ungrouped