javaApiInterceptAgentStarting

Intercepts on before an agent started to modify or enhance the agent.

JVM-friendly overload that accepts an async interceptor.

Example (Java): pipeline.interceptAgentStarting(feature, eventContext -> { // Inspect agent stages return java.util.concurrent.CompletableFuture.completedFuture(null); });