Home > @uniformdev/canvas-vue > useCompositionEventEffect

useCompositionEventEffect() function

A composable 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, compositionIdRef, effect, }

</td><td>

UseCompositionEventEffectOptions

</td><td>

</td></tr> </tbody></table> Returns:

Promise<void>