Skip to content

Commit d193c18

Browse files
author
Amine
committed
docs: document the connector getter
1 parent 9a959f0 commit d193c18

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

packages/common/src/client/AbstractPowerSyncDatabase.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,11 @@ export abstract class AbstractPowerSyncDatabase extends BaseObserver<PowerSyncDB
193193
return this.connectionManager.syncStreamImplementation;
194194
}
195195

196+
/**
197+
* The connector and connection options used to connect to the PowerSync service.
198+
*
199+
* @returns The connector and connection options used to connect to the PowerSync service or null if `connect()` has not been called.
200+
*/
196201
get connector() {
197202
return this.connectionManager.connector;
198203
}

0 commit comments

Comments
 (0)