1- import { Mutex } from 'async-mutex' ;
21import { EventIterator } from 'event-iterator' ;
32import Logger , { ILogger } from 'js-logger' ;
43import {
@@ -38,13 +37,13 @@ import {
3837 type PowerSyncConnectionOptions ,
3938 type RequiredAdditionalConnectionOptions
4039} from './sync/stream/AbstractStreamingSyncImplementation.js' ;
40+ import { CoreSyncStatus , coreStatusToJs } from './sync/stream/core-instruction.js' ;
41+ import { SyncStream } from './sync/sync-streams.js' ;
4142import { TriggerManager } from './triggers/TriggerManager.js' ;
4243import { TriggerManagerImpl } from './triggers/TriggerManagerImpl.js' ;
4344import { DEFAULT_WATCH_THROTTLE_MS , WatchCompatibleQuery } from './watched/WatchedQuery.js' ;
4445import { OnChangeQueryProcessor } from './watched/processors/OnChangeQueryProcessor.js' ;
4546import { WatchedQueryComparator } from './watched/processors/comparators.js' ;
46- import { coreStatusToJs , CoreSyncStatus } from './sync/stream/core-instruction.js' ;
47- import { SyncStream } from './sync/sync-streams.js' ;
4847
4948export interface DisconnectAndClearOptions {
5049 /** When set to false, data in local-only tables is preserved. */
@@ -195,7 +194,7 @@ export abstract class AbstractPowerSyncDatabase extends BaseObserver<PowerSyncDB
195194
196195 /**
197196 * The connector used to connect to the PowerSync service.
198- *
197+ *
199198 * @returns The connector used to connect to the PowerSync service or null if `connect()` has not been called.
200199 */
201200 get connector ( ) {
@@ -204,7 +203,7 @@ export abstract class AbstractPowerSyncDatabase extends BaseObserver<PowerSyncDB
204203
205204 /**
206205 * The resolved connection options used to connect to the PowerSync service.
207- *
206+ *
208207 * @returns The resolved connection options used to connect to the PowerSync service or null if `connect()` has not been called.
209208 */
210209 get connectionOptions ( ) {
0 commit comments