Home > @uniformdev/canvas-react > useCompositionEventEffect
useCompositionEventEffect() function
Hook to manage a subscription to a realtime event on a composition
Signature:
Parameters
<table><thead><tr><th>
Parameter
</th><th>
Type
</th><th>
Description
</th></tr></thead> <tbody><tr><td>
{ enabled, projectId, compositionId, effect, }
</td><td>
UseCompositionEventEffectOptions
</td><td>
</td></tr> </tbody></table> Returns:
void