Skip to content

Commit

Permalink
Merge pull request #6 from toomim/patch-1
Browse files Browse the repository at this point in the history
Fix typo in comment
  • Loading branch information
dmonad committed Dec 4, 2020
2 parents 679b8c1 + 7a7e4b8 commit fec2ecd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sync.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ import * as Y from 'yjs'
*/

/**
* Core Yjs defines three message types:
* Core Yjs defines two message types:
* • YjsSyncStep1: Includes the State Set of the sending client. When received, the client should reply with YjsSyncStep2.
* • YjsSyncStep2: Includes all missing structs and the complete delete set. When received, the the client is assured that
* it received all information from the remote client.
* • YjsSyncStep2: Includes all missing structs and the complete delete set. When received, the client is assured that it
* received all information from the remote client.
*
* In a peer-to-peer network, you may want to introduce a SyncDone message type. Both parties should initiate the connection
* with SyncStep1. When a client received SyncStep2, it should reply with SyncDone. When the local client received both
Expand Down

0 comments on commit fec2ecd

Please sign in to comment.