Skip to content

Commit

Permalink
Update api-reference.mdx
Browse files Browse the repository at this point in the history
  • Loading branch information
ezavada authored Jan 16, 2025
1 parent a34f54f commit 6b6cd77
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/cardinal/game/world/api-reference.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,9 @@ func TestGameSystem(t *testing.T) {

<Tip>
The WithTickDoneChannel is essential for writing deterministic tests. Always wait for the done signal before making assertions about game state changes.
</Tip>#### WithMessageExpiration
</Tip>

#### WithMessageExpiration

The `WithMessageExpiration` option controls how long messages will live past their creation time on the sender before they are considered to be expired and will not be processed. Default is 10 seconds. For longer expiration times you may also need to set a larger hash cache size using the `WithHashCacheSize` option. This setting is ignored if the DisableSignatureVerification option is used. **NOTE**: this means that the real time clock for the sender and receiver must be synchronized

Expand Down

0 comments on commit 6b6cd77

Please sign in to comment.