← ZIO Query docs

Batched

zio.query.DataSource.Batched
See theBatched companion trait
object Batched

Attributes

Companion
trait
Source
DataSource.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Batched.type

Members list

Value members

Concrete methods

def make[R, A](name: String)(f: (Chunk[A]) => ZIO[R, Nothing, CompletedRequestMap]): DataSource[R, A]

Constructs a data source from a function taking a collection of requests and returning a CompletedRequestMap.

Constructs a data source from a function taking a collection of requests and returning a CompletedRequestMap.

Attributes

Source
DataSource.scala