object Service
- Alphabetic
- By Inheritance
- Service
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def apply[R, A](name: String)(f: (Iterable[A]) => ZIO[R, Nothing, CompletedRequestMap]): Service[R, A]
Constructs a data source from a function taking a collection of requests and returning a
CompletedRequestMap
. - final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def fromFunction[A, B](name: String)(f: (A) => B)(implicit ev: <:<[A, Request[Nothing, B]]): Service[Any, A]
Constructs a data source from a pure function.
- final def fromFunctionBatched[A, B](name: String)(f: (Iterable[A]) => Iterable[B])(implicit ev: <:<[A, Request[Nothing, B]]): Service[Any, A]
Constructs a data source from a pure function that takes a list of requests and returns a list of results of the same size.
Constructs a data source from a pure function that takes a list of requests and returns a list of results of the same size. Each item in the result list must correspond to the item at the same index in the request list.
- final def fromFunctionBatchedM[R, E, A, B](name: String)(f: (Iterable[A]) => ZIO[R, Nothing, Iterable[B]])(implicit ev: <:<[A, Request[E, B]]): Service[R, A]
Constructs a data source from an effectual function that takes a list of requests and returns a list of results of the same size.
Constructs a data source from an effectual function that takes a list of requests and returns a list of results of the same size. Each item in the result list must correspond to the item at the same index in the request list.
- final def fromFunctionM[R, E, A, B](name: String)(f: (A) => ZIO[R, Nothing, B])(implicit ev: <:<[A, Request[E, B]]): Service[R, A]
Constructs a data source from an effectual function.
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()