Packages

c

zio.cache

ManagedLookup

final case class ManagedLookup[-Key, -Environment, +Error, +Value](lookup: (Key) => ZManaged[Environment, Error, Value]) extends (Key) => ZManaged[Environment, Error, Value] with Product with Serializable

Like lookup but managed version

Linear Supertypes
Serializable, Product, Equals, (Key) => ZManaged[Environment, Error, Value], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ManagedLookup
  2. Serializable
  3. Product
  4. Equals
  5. Function1
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ManagedLookup(lookup: (Key) => ZManaged[Environment, Error, Value])

Value Members

  1. def andThen[A](g: (ZManaged[Environment, Error, Value]) => A): (Key) => A
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  2. def apply(key: Key): ZManaged[Environment, Error, Value]

    Computes a value for the specified key or fails with an error.

    Computes a value for the specified key or fails with an error.

    Definition Classes
    ManagedLookup → Function1
  3. def compose[A](g: (A) => Key): (A) => ZManaged[Environment, Error, Value]
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  4. val lookup: (Key) => ZManaged[Environment, Error, Value]
  5. def productElementNames: Iterator[String]
    Definition Classes
    Product
  6. def toString(): String
    Definition Classes
    Function1 → AnyRef → Any