What would you like to be added:
Support throttle option in ClientOptions when defining clients.
Why is this needed:
Throttling update rate on client/doc will prevent both client and server to be overloaded.
For example, animating multiplayer cursors may invoke client/doc updates for every 1ms, which will overload both client and server.
For more information about animating multiplayer cursors, check this article: How to animate multiplayer cursors
To avoid this, throttling update rate is necessary for both client and server.
Currently liveblocks support this option on client definition.
Here's liveblocks API reference:
import { createClient } from "@liveblocks/client";
const client = createClient({
/* ... other options ... */
throttle: 80,
});
What would you like to be added: Support throttle option in ClientOptions when defining clients.
Why is this needed: Throttling update rate on client/doc will prevent both client and server to be overloaded. For example, animating multiplayer cursors may invoke client/doc updates for every 1ms, which will overload both client and server. For more information about animating multiplayer cursors, check this article: How to animate multiplayer cursors
To avoid this, throttling update rate is necessary for both client and server.
Currently liveblocks support this option on client definition. Here's liveblocks API reference: