Skip to content

Commit 9f7c27f

Browse files
author
rain
committed
docs: clarify client frame ticking guidance
1 parent 1b0ac07 commit 9f7c27f

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

docs/docs/00300-resources/00100-how-to/00050-troubleshooting.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -60,15 +60,15 @@ Your client may have failed to connect to the remote server, or may have been di
6060

6161
You may need to advance your connection by calling one of the following methods:
6262

63-
| Client SDK | Method | Description |
64-
|---------------------|------------------------------|------------------------------------------------------------------------------------|
65-
| Rust (native only) | `conn.run_threaded()` | Spawn a thread to continuously advance the connection. |
66-
| Rust (browser only) | `conn.run_background_task()` | Spawn a task to continuously advance the connection. |
67-
| Rust | `conn.run_async()` | A `Future` which you can `await` or poll to advance the connection. |
68-
| Rust | `conn.frame_tick()` | In single-threaded games, call this every frame to advance the connection. |
69-
| C# | `Conn.FrameTick()` | Call this every frame to advance the connection, or call it in a loop on a thread. |
70-
| Unreal | `Conn.FrameTick()` | Call this every frame to advance the connection. |
71-
| TypeScript | N/a | The TypeScript client SDK advances connections automatically. |
63+
| Client SDK | Method | Description |
64+
|---------------------|---------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------|
65+
| Rust (native only) | `conn.run_threaded()` | Spawn a thread to continuously advance the connection. |
66+
| Rust (browser only) | `conn.run_background_task()` | Spawn a task to continuously advance the connection. |
67+
| Rust | `conn.run_async()` | A `Future` which you can `await` or poll to advance the connection. |
68+
| Rust | `conn.frame_tick()` | In single-threaded games, call this every frame to advance the connection. |
69+
| C# | `Conn.FrameTick()` | Call this from your game or application update loop. If you use a separate loop, keep `Conn.Db` access on that same thread or synchronize access. |
70+
| Unreal | `Conn->FrameTick()` or `Conn->SetAutoTicking(true)` | Call `FrameTick()` every frame, or enable auto-ticking once after building the connection. |
71+
| TypeScript | N/a | The TypeScript client SDK advances connections automatically. |
7272

7373
### Rows never appear
7474

0 commit comments

Comments
 (0)