← ZIO Query docs

DataSourceAspect

zio.query.DataSourceAspect
See theDataSourceAspect companion trait

Attributes

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

Members list

Value members

Concrete methods

def around[R, A](before: Described[ZIO[R, Nothing, A]])(after: Described[A => ZIO[R, Nothing, Any]]): DataSourceAspect[R]

A data source aspect that executes requests between two effects, before and after, where the result of before can be used by after.

A data source aspect that executes requests between two effects, before and after, where the result of before can be used by after.

Attributes

Source
DataSourceAspect.scala

A data source aspect that limits data sources to executing at most n requests in parallel.

A data source aspect that limits data sources to executing at most n requests in parallel.

Attributes

Source
DataSourceAspect.scala