Settings of wrap function.
Whether original function, method or field's operation should be called after handler
.
When this option is set to true
, the result of original function/method or field's operation
will be returned from wrapping function.
Whether original function, method or field's operation should be called before handler
.
When this option is set to true
, the result of original function/method or field's operation
will be available in handler
and value returned from handler
will be returned from wrapping function
if settings.after
and settings.listen
are set to false
.
Whether wrapping function should be bound to target
object.
Context (this
) that should be used for handler
call.
Any data that should be available in handler
.
Whether field's get operation should be intercepted and
whether created wrapping function should be used as field's getter.
If a function is provided the function will be used as value for HandlerParam.get
when no getter is specified for the field.
Default value is true
for usual (non-functional) field and false
for method.
Whether original function, method or field's operation should be called before handler
.
When this option is set to true
, the result of original function/method or field's operation
will be available in handler
and will be returned from wrapping function
if settings.after
is set to false
.
Whether field's set operation should be intercepted and
whether created wrapping function should be used as field's setter.
If a function is provided the function will be used as value for HandlerParam.set
when no getter is specified for the field.
Default value is true
for usual (non-functional) field and false
for method.
Generated using TypeDoc
Settings of wrap function.