Skip to content

Commit 7fdc2e2

Browse files
committed
Rename connectFork to connect
1 parent cff42e1 commit 7fdc2e2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

javascript/src/api.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,9 @@ export interface IDocumentProvider extends IDisposable {
9595
fork(): Promise<string>;
9696

9797
/**
98-
* Connect the shared document to a forked room with forkId (disconnect from previous room).
98+
* Connect the shared document to a room with given ID (disconnect from previous room).
9999
*/
100-
connectFork(forkId: string): void;
100+
connect(roomId: string): void;
101101
}
102102

103103
/**

0 commit comments

Comments
 (0)