final class FOps[F[_], A] extends AnyVal
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- FOps
- AnyVal
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new FOps(f: F[A])
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##: Int
- Definition Classes
- Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def time(record: (Duration) => F[Unit])(implicit F: Bracket[F, Throwable], C: Clock[F]): F[A]
Measures the time it takes the effect to finish and records it using the provided function.
- def timeCase(record: (Either[Duration, Duration]) => F[Unit])(implicit F: Bracket[F, Throwable], C: Clock[F]): F[A]
Measures the time it takes the effect to finish and records it using the provided function.
Measures the time it takes the effect to finish and records it using the provided function. It distinguishes between successful and failure state. Please note, that in case of the effect cancellation the
recordis not invoked at all. - def toString(): String
- Definition Classes
- Any