package batchtraces

import (
	

	
)

type passthrough struct {
	exp Exporter
}

// Passthrough returns a [traces.Handler] implementation that immediately
// exports each finished span synchronously instead of batching.
func ( Exporter) traces.Handler {
	return &passthrough{exp: }
}

func ( *passthrough) ( context.Context,  traces.Record) error {
	return .exp.Export(, []traces.Record{})
}