Annotates that only changes of the outbound data should be sent to the client. This reduces the amount of data, that is sent via the WebSocket connection. However the calculation of the difference is executed on the server-side.
Method annotation for outbound:
class Example { @Outbound("d.example") @PartialUpdates async getData(connection: WebsocketConnection): Promise<any> { return [...]; }} Copy
class Example { @Outbound("d.example") @PartialUpdates async getData(connection: WebsocketConnection): Promise<any> { return [...]; }}
Generated using TypeDoc
Annotates that only changes of the outbound data should be sent to the client. This reduces the amount of data, that is sent via the WebSocket connection. However the calculation of the difference is executed on the server-side.