API Reference
Platform docs

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

ParameterTypeDescription
inputComponentParameterEnhancer<any>
composersReadonlyArray<ComponentParameterEnhancer<any>>

Returns:

ComponentParameterEnhancer<any, any>

Join our community on Discord
Check out our public repositories on GitHub
Enjoy some video content on YouTube