Interceptor that is invoked after a invocation has completed. It is used with the @after-decorator.
Interceptor that is invoked before a method invocation. It is used with the @before-decorator.
Interceptor for a property getter. It is used with the @getter-decorator.
Interceptor for method invocations. It is used with the @around-decorator.
Interceptor for a property setter. It is used with the @setter-decorator.
Decorator for intercepting a read/write property-access.
To apply to this method or property
Decorator for intercepting after a method invocation.
To apply to this method or property
Decorator for intercepting a method.
To apply to this method or property
Decorator for intercepting before a method invocation.
To apply to this method or property
Decorator for intercepting a property read-access.
To apply to this method or property
Root decorator for classes. This is required on classes that use interceptors.
Decorator for intercepting a property write-access.
To apply to this method or property
Generated using TypeDoc
Interceptor for property-access. It is used with the access-decorator.
provide information about the property-access and allows the interceptor to forward the call to the next handler.
For getters (access.setter === false), this is the value of the property, for setters true or false
access => { if(access.setter) { // Overwrite the value the property is to be set to access.value = "Hello" return access.next(); } // getter let value = access.next(); // Modify result value += 1; return value; }
access
GetterInterceptor
SetterInterceptor