annotate method

ZIO<R, E, A> annotate(
  1. Symbol key,
  2. String name,
  3. dynamic value
)

Adds an annotation to the the current ZIOContext, which can be retrieved later with annotations.

Implementation

ZIO<R, E, A> annotate(Symbol key, String name, dynamic value) =>
    ZIO.from((ctx) => unsafeRun(ctx.unsafeAnnotate(key, name, value)));