ConcurrentDiagnostics

zio.kafka.diagnostics.internal.ConcurrentDiagnostics

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def make[DiagnosticEvent](wrapped: Diagnostics[DiagnosticEvent], finalEvent: DiagnosticEvent): ZIO[Scope, Nothing, Diagnostics[DiagnosticEvent]]

Attributes

Returns

a Diagnostics that runs the wrapped Diagnostics concurrently in a separate fiber. Events are emitting to the fiber via an unbounded queue. Upon finalization, finalEvent is emitted as the last event.