Packages

trait Service[-R, -A] extends AnyRef

Self Type
Service[R, A]
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Service
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract val identifier: String

    The data source's identifier.

  2. abstract def run(requests: Iterable[A]): ZIO[R, Nothing, CompletedRequestMap]

    Execute a collection of requests.

    Execute a collection of requests. Data sources are guaranteed that the collection will contain at least one request and that all requests will be unique when they are called by ZQuery.

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. final def contramap[B](f: (B) => A)(name: String): Service[R, B]

    Returns a new data source that executes requests of type B using the specified function to transform B requests into requests that this data source can execute.

  7. final def contramapM[R1 <: R, B](name: String)(f: (B) => ZIO[R1, Nothing, A]): Service[R1, B]

    Returns a new data source that executes requests of type B using the specified effectual function to transform B requests into requests that this data source can execute.

  8. final def eitherWith[R1 <: R, B, C](that: Service[R1, B])(name: String)(f: (C) => Either[A, B]): Service[R1, C]

    Returns a new data source that executes requests of type C using the specified function to transform C requests into requests that either this data source or that data source can execute.

  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. final def equals(that: Any): Boolean
    Definition Classes
    Service → AnyRef → Any
  11. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. final def hashCode(): Int
    Definition Classes
    Service → AnyRef → Any
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. final def provide(name: String)(r: R): Service[Any, A]

    Provides this data source with its required environment.

  19. final def provideSome[R0](name: String)(f: (R0) => R): Service[R0, A]

    Provides this data source with part of its required environment.

  20. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  21. final def toString(): String
    Definition Classes
    Service → AnyRef → Any
  22. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  23. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  24. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped