Type alias provided for convenience when using an IO.Par
as the type of cats.effect.Parallel
or
cats.effect.NonEmptyParallel
effectful program being traced.
Lifts the non-strict, possibly impure expression computing A
into a TraceIO[A]
context.
Lifts the non-strict, possibly impure expression computing A
into a TraceIO[A]
context.
- the non-strict expression computing A
to lift into a TraceIO
context.
a non-strict expression which computes A
lifted into a TraceIO
.
Ask for the current TraceContext[IO]
in a TraceIO
.
Ask for the current TraceContext[IO]
in a TraceIO
.
a TraceContext[IO]
, describing the environment of the active trace,
wrapped in a TraceIO
.
Creates a cats.effect.ContextShift[TraceIO]
given an ExecutionContext
.
Creates a cats.effect.ContextShift[TraceIO]
given an ExecutionContext
. The context shift
provides the means of evaluating an expression on a given execution context (e.g., thread pool)
and switching back after the evaluation is completed.
- an ExecutionContext
used to switch back to after the ContextShift.evalOn
finishes.
a ContextShift[TraceIO]
Lifts a value A
into a TraceIO[A]
context.
Lifts a value A
into a TraceIO[A]
context.
- the pure value A
to lift into a TraceIO
context.
a pure value A
wrapped in a TraceIO
.
Creates a TraceIO
indicating a failure has occurred during execution of the Span.
Creates a TraceIO
indicating a failure has occurred during execution of the Span.
- the Throwable
with which to fail the underlying program.
the TraceIO[A]
in a failed state.
Lifts the non-strict, possibly impure expression computing a TraceIO[A]
into a TraceIO[A]
The expression is suspended until the outer TraceIO
returned is run.
Lifts the non-strict, possibly impure expression computing a TraceIO[A]
into a TraceIO[A]
The expression is suspended until the outer TraceIO
returned is run.
- the non-strict expression computing TraceIO[A]
to lift into a TraceIO
context suspended
until the outer TraceIO
is run.
a non-strict expression which computes TraceIO[A]
lifted into a TraceIO
in
a suspended state until the outer TraceIO
is run.
An alias for TraceIO.pure(())
provided for convenience.
An alias for TraceIO.pure(())
provided for convenience.
a pure unit ()
value.
(Since version ) see corresponding Javadoc for more information.
Companion to the
TraceIO[A]
type alias - provides the TraceT smart constructors with the effectful programF
fixed asIO
.