CallbackBuildStep

class CallbackBuildStep[F[_], A, B](fa: Resource[F, A], val buildCallback: F[B] => Resource[F, Unit]) extends CallbackStep[F, B]
trait CallbackStep[F, B]
class Object
trait Matchable
class Any

Value members

Concrete methods

override def build: Resource[F, A]

Builds the metric

Builds the metric

Definition Classes
BuildStep
Source:
package.scala

Inherited methods

def callback(callback: F[B]): BuildStep[F, Unit]
Inherited from:
CallbackStep
Source:
package.scala
def contramapCallback[B](f: B => B)(implicit F: Functor[F]): CallbackStep[F, B]
Inherited from:
CallbackStep
Source:
package.scala
def map[B](f: A => B): BuildStep[F, B]
Inherited from:
BuildStep (hidden)
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

Inherited from:
BuildStep (hidden)
Source:
package.scala

Concrete fields

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