|
Quick Links: |
Provide an interface for a context with a notion of a current span. More...
Namespaces | |
| namespace | bmqpi |
| bmqpi::DTContext | Interface for a context with a notion of a current span. |
bmqpi::DTContext is a pure interface representing a context which defines a "current" bmqpi::DTSpan for the calling thread. Implementations may return different spans for each thread, or return a single span shared by all calling threads.
bmqpi::DTContext aims to make it easy to wrap these common patterns in a library-agnostic manner, while also facilitating test double implementations.
1.7.1