Module Trace_fuchsia.Subscriber

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 subscriber : t -> Trace_subscriber.t

Subscriber that writes json into this writer