API Reference
Each static method of FunctionWrapper can be used independently to wrap any function. Refer to the method list in the Features section for full capabilities.
Chaining Example
1const fn = (x) => x * 2;2const chained = FunctionWrapper.chain(fn)3 .debounce(200)4 .log()5 .memo()6 .time()7 .value();9chained(5);