← ZIO Query docs

unsafe

zio.query.ZQuery.unsafe
object unsafe

These methods can improve UX and performance in some cases, but when used improperly they can lead to unexpected behaviour in the application code.

Make sure you really understand them before using them!

Attributes

Source
ZQuery.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
unsafe.type

Members list

Value members

Concrete methods

def memoize[R, E, A](query: ZQuery[R, E, A])(implicit unsafe: Unsafe, trace: Trace): ZQuery[R, E, A]

Attributes

Source
ZQuery.scala