Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Mike Christensen <[email protected]>
  • Loading branch information
VeskeR and mschristensen authored Nov 29, 2024
1 parent 0b4b1e4 commit e971ff9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ably.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2045,8 +2045,8 @@ export declare interface LiveObjects {
}

/**
* The `LiveMap` class represents a synchronized key/value storage, similar to a JavaScript Map, where all changes are synchronized across clients in realtime.
* Conflict-free resolution for updates follows Last Write Wins (LWW) semantics, meaning that if two clients update the same key in the map, the last change wins.
* The `LiveMap` class represents a key/value map data structure, similar to a JavaScript Map, where all changes are synchronized across clients in realtime.
* Conflict-free resolution for updates follows Last Write Wins (LWW) semantics, meaning that if two clients update the same key in the map, the update with the most recent timestamp wins.
*
* Keys must be strings. Values can be another Live Object, or a primitive type, such as a string, number, boolean, or binary data (see {@link StateValue}).
*/
Expand Down Expand Up @@ -2085,7 +2085,7 @@ export declare interface LiveMapUpdate extends LiveObjectUpdate {
export type StateValue = string | number | boolean | Buffer | ArrayBuffer;

/**
* The `LiveCounter` class represents a synchronized counter that can be incremented or decremented and is synchronized across clients in realtime.
* The `LiveCounter` class represents a counter that can be incremented or decremented and is synchronized across clients in realtime.
*/
export declare interface LiveCounter extends LiveObject<LiveCounterUpdate> {
/**
Expand Down

0 comments on commit e971ff9

Please sign in to comment.