Packages

implicit final class NestedSyntax[F[_], A] extends AnyVal

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

Instance Constructors

  1. new NestedSyntax(self: Resource[[β$18$]Resource[F, β$18$], A])

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 flattenK(implicit F: MonadCancel[F, Throwable]): Resource[F, A]

    Flattens the outer Resource scope with the inner, mirroring the semantics of Resource.flatMap.

    Flattens the outer Resource scope with the inner, mirroring the semantics of Resource.flatMap.

    This function is useful in cases where some generic combinator (such as GenSpawn.background) explicitly returns a value within a Resource effect, and that generic combinator is itself used within an outer Resource. In this case, it is often desirable to flatten the inner and outer Resource together. flattenK implements this flattening operation with the same semantics as Resource.flatMap.

  6. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  7. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  8. val self: Resource[[β$17$]Resource[F, β$17$], A]
  9. def toString(): String
    Definition Classes
    Any

Inherited from AnyVal

Inherited from Any

Ungrouped