> For the complete documentation index, see [llms.txt](https://documentation.sceenic.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.sceenic.co/watch-together-sdk/sscale-confluence-api-references/sscale-confluence-web-sdk-reference/sscale-confluence-sessionlisteners-websdk/wtsessionlisteners.onsyncdata-fn.md).

# WTSessionListeners.onSyncData(fn)

`onSyncData(fn)`

`const fn= ({data, participantId}) => {/*code*/}`

The callback will be invoked when participant receives a synchronization event. Inside the data from the other participants will be available
