BoxRegisterInterceptor
Registers a global interceptor that can listen to global runtime events.
Method Signature
Arguments
Argument
Type
Required
Description
Default
interceptor
any
true
This can be a class or a closure/lambda that will listen to global events
states
any
false
An array of events to listen to along side the points discovered in the incoming interceptor
[]
Examples
Related
Last updated
Was this helpful?