Sized

zio.test.Sized
See theSized companion trait
object Sized

Attributes

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

Members list

Type members

Classlikes

final case class Test(fiberRef: FiberRef[Int]) extends Sized

Attributes

Source
Sized.scala
Supertypes
trait Product
trait Equals
trait Sized
trait Serializable
class Object
trait Matchable
class Any
Show all

Value members

Concrete methods

def live(size: Int)(implicit trace: Trace): Layer[Nothing, Sized]

Attributes

Source
Sized.scala
def size(implicit trace: Trace): UIO[Int]

Attributes

Source
Sized.scala
def withSize[R, E, A](size: Int)(zio: ZIO[R, E, A])(implicit trace: Trace): ZIO[R, E, A]

Attributes

Source
Sized.scala
def withSizeGen[R, A](size: Int)(gen: Gen[R, A])(implicit trace: Trace): Gen[R, A]

Attributes

Source
Sized.scala

Concrete fields

val default: ZLayer[Any, Nothing, Sized]

Attributes

Source
Sized.scala

Implicits

Implicits

implicit val tag: Tag[Sized]

Attributes

Source
Sized.scala