CallbackBuildStep

prometheus4cats.internal.CallbackBuildStep
class CallbackBuildStep[F[_], A, B] extends BuildStep[F, A], CallbackStep[F, B]

Attributes

Source
package.scala
Graph
Supertypes
trait CallbackStep[F, B]
trait BuildStep[F, A]
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

override def build: Resource[F, A]

Builds the metric

Builds the metric

Attributes

Definition Classes
Source
package.scala

Inherited methods

def callback(callback: F[B]): BuildStep[F, Unit]

Attributes

Inherited from:
CallbackStep
Source
package.scala
def contramapCallback[B](f: B => B)(implicit F: Functor[F]): CallbackStep[F, B]

Attributes

Inherited from:
CallbackStep
Source
package.scala
def map[B](f: A => B): BuildStep[F, B]

Attributes

Inherited from:
BuildStep
Source
package.scala
def unsafeBuild(implicit F: MonadCancelThrow[F]): F[A]

Unsafely builds the metric, but does not deallocate

Unsafely builds the metric, but does not deallocate

Attributes

Inherited from:
BuildStep
Source
package.scala

Concrete fields

override val buildCallback: F[B] => Resource[F, Unit]

Attributes

Source
package.scala