ParentContext type
سياق أصل لإنشاء النطاق. يقبل إما:
- ParentSpanRef: زوج traceId/spanId صريح (نهج يدوي)
-
ParentContext: سياق OTel، عادة من extractContextFromHeaders أو
propagation.extract()
type ParentContext = ParentSpanRef | Context