async fn collect_batches(
batches: IpcClientTypedSubscription<FlightRecorderBatch>,
buffer: Arc<CircularBuffer<FlightRecorderEvent>>,
role: FlightRecorderCollectorRole,
)async fn collect_batches(
batches: IpcClientTypedSubscription<FlightRecorderBatch>,
buffer: Arc<CircularBuffer<FlightRecorderEvent>>,
role: FlightRecorderCollectorRole,
)