{"version":3,"file":"BaseFetchExporter.cjs","names":[],"sources":["../../../src/exporters/BaseFetchExporter/BaseFetchExporter.ts"],"sourcesContent":["import type { ExportResult } from '@opentelemetry/core';\nimport type { IOtlpExportDelegate } from '@opentelemetry/otlp-exporter-base';\n\nexport class BaseFetchExporter<Internal> {\n  public constructor(\n    private readonly _delegate: IOtlpExportDelegate<Internal>,\n  ) {}\n\n  public export(\n    items: Internal,\n    resultCallback: (result: ExportResult) => void,\n  ): void {\n    this._delegate.export(items, resultCallback);\n  }\n\n  public forceFlush(): Promise<void> {\n    return this._delegate.forceFlush();\n  }\n\n  public shutdown(): Promise<void> {\n    return this._delegate.shutdown();\n  }\n}\n"],"mappings":";;AAGA,IAAa,oBAAb,MAAyC;CACvC,YACE,WACA;AADiB,OAAA,YAAA;;CAGnB,OACE,OACA,gBACM;AACN,OAAK,UAAU,OAAO,OAAO,eAAe;;CAG9C,aAAmC;AACjC,SAAO,KAAK,UAAU,YAAY;;CAGpC,WAAiC;AAC/B,SAAO,KAAK,UAAU,UAAU"}