Function that should be wrapped or an object whose field(s)/method(s) will be wrapped and replaced.
Name of field/method (or list of field/method names) that should be wrapped or a handler
when function is passed for target
parameter.
A function (interceptor) that should be executed when newly created function is called
or get/set operation for the field is applied, or settings when function is passed for target
parameter.
See wrap for details.
Optional settings that will be available in handler
. See wrap for details.
Wrapping function when target
is a function, or a function that restores original field(s)/method(s)
when target
is an object.
Wraps specified object's field/method or standalone function into new (wrapping) function that calls passed handler which eventually may run wrapped function or get/set field's value.
Function that should be wrapped or an object whose field/method will be wrapped and replaced.
Name of field/method that should be wrapped or a handler when function is passed for target
parameter.
A function (interceptor) that should be executed when newly created function is called
or get/set operation for the field is applied, or settings when function is passed for target
parameter.
When settings.after
and settings.listen
are false
, result of handler
will be returned from wrapping function.
Optional settings that will be available in handler
.
Wrapping function when target
is a function, or a function that restores original field/method when target
is an object.
Generated using TypeDoc
Wraps specified object's field(s)/method(s) or standalone function into new (wrapping) function that calls passed handler which eventually may run wrapped function or get/set field's value.
Denis Sikuler