Realtime Update Listener and related objects

Hello

Can anybody confirm if creating an update realtime event handler within the Javascript SDK supports returning also the related objects? For example the following line subscribes for realtime events:

rtHandlers.addUpdateListener<Workspace>(this.onWorkspaceChange.bind(this));

But I would like to also return not only the Workspace object but also a related object. I.e when you set a relationship depth of 1.

I cannot find anything in the docs about this. Anyhelp would be much appreciated. I have tried to apply the concepts in the Angular example project in my own project.

Kind regards

Steven

Can anybody confirm if creating an update realtime event handler within the Javascript SDK supports returning also the related objects?

no, you can not receive related objects during the update operation( or during listening for the update). When you receive updated object you can load relation for it with another request.