API Reference
Platform docs
Theme

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>

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