Home > @uniformdev/canvas > compose
compose() function
Composes several enhancers into a synchronous chain. Can be used to modify the output of an enhancer. NOTE: only the first enhancer in the chain may use batching (completeAll()).
Signature:
Parameters
| Parameter | Type | Description |
|---|---|---|
| input | ComponentParameterEnhancer<any> | |
| composers | ReadonlyArray<ComponentParameterEnhancer<any>> |
Returns:
ComponentParameterEnhancer<any, any>