Interceptors
Interceptors let you add cross-cutting behavior before and after SDK operations such as starting a Workflow, executing an Activity, or handling a Signal. They work like middleware: each interceptor wraps the next, forming a chain that executes around the underlying operation.
Common use cases:
- Observability (logging, metrics, tracing)
- Authorization and authentication checks
- Header manipulation (propagating metadata)
- Input/output validation
Implementing Interceptors
Here are SDK-specific guides: