Object/Class

com.ccadllc.cedi.dtrace

TraceT

Related Docs: class TraceT | package dtrace

Permalink

object TraceT extends TraceTPolyFunctions with TraceTInstances

The TraceT companion provides smart constructors for desired TraceT instances and type class isntances.

Source
TraceT.scala
Linear Supertypes
TraceTInstances, TraceTPolyFunctions, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TraceT
  2. TraceTInstances
  3. TraceTPolyFunctions
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. class ConcurrentEffectTraceT[F[_]] extends ConcurrentEffect[[β$4$]TraceT[F, β$4$]]

    Permalink

    A ConcurrentEffect[TraceT[F, ?]] typeclass instance given an instance of ConcurrentEffect[F] and an instance of TraceContext[F].

    A ConcurrentEffect[TraceT[F, ?]] typeclass instance given an instance of ConcurrentEffect[F] and an instance of TraceContext[F].

    Attributes
    protected
    Definition Classes
    TraceTInstances
  2. class TraceTTimer[F[_]] extends Timer[[β$10$]TraceT[F, β$10$]]

    Permalink

    A Timer[TraceT[F, ?]] typeclass instance given an instance of Timer[F].

    A Timer[TraceT[F, ?]] typeclass instance given an instance of Timer[F].

    Attributes
    protected
    Definition Classes
    TraceTInstances

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def ask[F[_]](implicit F: Applicative[F]): TraceT[F, TraceContext[F]]

    Permalink

    Ask for the current TraceContext[F] in a TraceT.

    Ask for the current TraceContext[F] in a TraceT.

    returns

    a TraceContext[F] wrapped in a TraceT.

  6. def async[F[_], A](cb: ((Either[Throwable, A]) ⇒ Unit) ⇒ Unit)(implicit F: Async[F]): TraceT[F, A]

    Permalink

    Creates a simple, noncancelable TraceT[F, A] instance that executes an asynchronous process on evaluation.

    Creates a simple, noncancelable TraceT[F, A] instance that executes an asynchronous process on evaluation.

    The given function is being injected with a side-effectful callback for signaling the final result of an asynchronous process.

  7. def cancelable[F[_], A](k: ((Either[Throwable, A]) ⇒ Unit) ⇒ IO[Unit])(implicit F: Concurrent[F]): TraceT[F, A]

    Permalink

    Creates a cancelable TraceT[F, A] instance that executes an asynchronous process on evaluation.

    Creates a cancelable TraceT[F, A] instance that executes an asynchronous process on evaluation.

    This builder accepts a registration function that is being injected with a side-effectful callback, to be called when the asynchronous process is complete with a final result.

  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. implicit def concurrentEffectTraceTInstance[F[_]](implicit arg0: ConcurrentEffect[F], arg1: TraceContext[F]): ConcurrentEffect[[β$2$]TraceT[F, β$2$]]

    Permalink
    Definition Classes
    TraceTInstances
  10. def delay[F[_], A](a: ⇒ A)(implicit F: Sync[F]): TraceT[F, A]

    Permalink

    Lifts the non-strict, possibly impure expression computing A into a TraceT[F, A] context.

    Lifts the non-strict, possibly impure expression computing A into a TraceT[F, A] context.

    a

    the non-strict expression computing A to lift into a TraceT context.

    returns

    a non-strict expression which computes A lifted into a TraceT.

  11. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  15. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. def liftIO[F[_], A](ioa: IO[A])(implicit F: Concurrent[F]): TraceT[F, A]

    Permalink

    Defines a conversion from IO in terms of the Concurrent type class.

  18. implicit def liftToTraceT[F[_]]: ~>[F, [β$0$]TraceT[F, β$0$]]

    Permalink

    An instance of the polymorphic function F ~> TraceT[F, ?] for any effectful program result type ? is made available in implicit scope.

    An instance of the polymorphic function F ~> TraceT[F, ?] for any effectful program result type ? is made available in implicit scope.

    Definition Classes
    TraceTPolyFunctions
  19. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  20. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. def pure[F[_], A](a: A)(implicit F: Applicative[F]): TraceT[F, A]

    Permalink

    Lifts a value A into a TraceT[F, A].

    Lifts a value A into a TraceT[F, A].

    a

    the pure value A to lift into a TraceT context.

    returns

    a pure value A wrapped in a TraceT.

  23. def raiseError[F[_], A](t: Throwable)(implicit F: MonadError[F, Throwable]): TraceT[F, A]

    Permalink

    Creates a failed TraceT, to create a failed underlying program, lifted to a TraceT.

    Creates a failed TraceT, to create a failed underlying program, lifted to a TraceT.

    t

    the Throwable with which to fail the underlying program.

    returns

    the TraceT[F, A] in a failed state.

  24. def suspend[F[_], A](t: ⇒ TraceT[F, A])(implicit F: Sync[F]): TraceT[F, A]

    Permalink

    Lifts the non-strict, possibly impure expression computing a TraceT[F, A] into a TraceT[F, A].

    Lifts the non-strict, possibly impure expression computing a TraceT[F, A] into a TraceT[F, A]. The expression is suspended until the outer TraceT returned is run.

    t

    the non-strict expression computing TraceT[F, A] to lift into a TraceT context suspended until the outer TraceT is run.

    returns

    a non-strict expression which computes TraceT[F, A] lifted into a TraceT in a suspended state until the outer TraceT is run.

  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  26. implicit def timerTraceTInstance[F[_]](implicit arg0: Timer[F]): Timer[[β$3$]TraceT[F, β$3$]]

    Permalink
    Definition Classes
    TraceTInstances
  27. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  28. def toTraceT[F[_], A](fa: F[A]): TraceT[F, A]

    Permalink

    Lifts a program F which computes A into a TraceT[F, A] context.

    Lifts a program F which computes A into a TraceT[F, A] context.

    fa

    a program F which computes a value A.

    returns

    a TraceT[F, A]

  29. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from TraceTInstances

Inherited from TraceTPolyFunctions

Inherited from AnyRef

Inherited from Any

Ungrouped