For the complete documentation index, see llms.txt. This page is also available as Markdown.

Dynamic Registration

Register one-off closure listeners on interception points directly in code using the interceptor service listen() method.

Instead of creating an Interceptor and registering this interceptor programmatically or in configuration, you can do this directly in code by registrering one-off closures with the new listen supertype.

controller.getInterceptorService().listen( () => {
    log.info( "executing from closure listener")
}, "preProcess" );

Last updated

Was this helpful?