Module Trace_fuchsia.Collector_fuchsia

type t

Main subscriber state.

val create : ?buf_pool:Buf_pool.t -> pid:int -> exporter:Exporter.t -> unit -> t

Create a subscriber state.

val flush : t -> unit
val close : t -> unit
val active : t -> bool
val collector : t -> Trace_core.Collector.t

Subscriber that writes json into this writer