zio.profiling.CostCenter
See theCostCenter companion class
object CostCenter
Attributes
- Companion
- class
- Source
- CostCenter.scala
- Graph
-
- Supertypes
- Self type
-
CostCenter.type
Members list
Type members
Inherited and Abstract types
The names of the product elements
The name of the type
Value members
Concrete methods
Get the current cost center.
Get the current cost center this fiber is executing in.
def withChildCostCenter[R, E, A](name: String)(zio: ZIO[R, E, A])(implicit trace: Trace): ZIO[R, E, A]
Run an effect with a child cost center nested under the current one.
Run an effect with a child cost center nested under the current one.
Attributes
- Source
- CostCenter.scala
def withChildCostCenterStream[R, E, A](name: String)(stream: ZStream[R, E, A])(implicit trace: Trace): ZStream[R, E, A]
Run an effect with a child cost center nested under the current one.
Run an effect with a child cost center nested under the current one.
Attributes
- Source
- CostCenter.scala
Concrete fields
The root cost center.
In this article