Skip to main content

Function: createCorrelationActivityInterceptor()

createCorrelationActivityInterceptor(): ActivityInterceptorsFactory

Defined in: src/observability/interceptors.ts:55

Activity interceptor factory: reads the correlation id from the activity's headers and runs the activity inside it, so getCorrelationId() and the library logger see it.

Returns​

ActivityInterceptorsFactory