From 556eb2e62ee6177a69068aad75abae19ad100033 Mon Sep 17 00:00:00 2001 From: George Date: Wed, 13 Nov 2024 09:16:01 +0000 Subject: [PATCH] fix misleading docs for enableLatencySim --- guides/client/js-interop.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guides/client/js-interop.md b/guides/client/js-interop.md index 6e8080b740..3be406882f 100644 --- a/guides/client/js-interop.md +++ b/guides/client/js-interop.md @@ -55,7 +55,7 @@ so LiveView includes a latency simulator with the JavaScript client to ensure yo application provides a pleasant experience. Like the `enableDebug()` function above, the `LiveSocket` instance includes `enableLatencySim(milliseconds)` and `disableLatencySim()` functions which apply throughout the current browser session. The `enableLatencySim` function -accepts an integer in milliseconds for the round-trip-time to the server. For example: +accepts an integer in milliseconds for the one-way latency to and from the server. For example: ```javascript // app.js