Skip to content

Commit

Permalink
Rename connectFork to connect
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbrochart committed Mar 18, 2024
1 parent cff42e1 commit 7fdc2e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions javascript/src/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,9 @@ export interface IDocumentProvider extends IDisposable {
fork(): Promise<string>;

/**
* Connect the shared document to a forked room with forkId (disconnect from previous room).
* Connect the shared document to a room with given ID (disconnect from previous room).
*/
connectFork(forkId: string): void;
connect(roomId: string): void;
}

/**
Expand Down

0 comments on commit 7fdc2e2

Please sign in to comment.