RefSpanCompleter

trace4cats.RefSpanCompleter
See theRefSpanCompleter companion object
class RefSpanCompleter[F[_]](process: TraceProcess, ref: Ref[F, Queue[CompletedSpan]]) extends SpanCompleter[F]

RefSpanCompleter collects all spans in a queue within an atomic reference. Best used for testing purposes.

Attributes

Companion
object
Graph
Supertypes
trait SpanCompleter[F]
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

override def complete(span: Builder): F[Unit]

Attributes

Definition Classes