MethodEnhancer
Defined in: ext/methodware/method-enhancer.ts:15
MethodEnhancer is a function that applies a Funcware enhancer to a method on a target object.
Created by createMethodEnhancer or createMethodEnhancer.
Call with a target object to enhance its method, and receive a disposer to restore the original method.
See Funcware for details on the enhancer function type.
Type Parameters
Section titled “Type Parameters”| Type Parameter |
|---|
K extends string |
T extends HasMethod<K> |
MethodEnhancer(
target:T):DisposeFunc
Defined in: ext/methodware/method-enhancer.ts:15
MethodEnhancer is a function that applies a Funcware enhancer to a method on a target object.
Created by createMethodEnhancer or createMethodEnhancer.
Call with a target object to enhance its method, and receive a disposer to restore the original method.
See Funcware for details on the enhancer function type.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
target | T |