Sampler

gcp4s.trace.Sampler
See theSampler companion class
object Sampler

Attributes

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

Members list

Value members

Concrete methods

def always[F[_]](using evidence$1: Applicative[F]): Sampler[F]

Attributes

Source
Sampler.scala
def never[F[_]](using evidence$2: Applicative[F]): Sampler[F]

Attributes

Source
Sampler.scala
def randomly[F[_]](probability: Double)(using evidence$3: Functor[F], evidence$4: Random[F]): Sampler[F]

Attributes

Source
Sampler.scala