ReactNativeStreamingSyncImplementation
Extends
Constructors
new ReactNativeStreamingSyncImplementation()
new ReactNativeStreamingSyncImplementation(options): ReactNativeStreamingSyncImplementation
Parameters
Parameter | Type |
---|---|
options | AbstractStreamingSyncImplementationOptions |
Returns
ReactNativeStreamingSyncImplementation
Overrides
AbstractStreamingSyncImplementation
.constructor
Properties
Property | Type | Inherited from |
---|---|---|
locks | Map <LockType , AsyncLock > | - |
syncStatus | SyncStatus | AbstractStreamingSyncImplementation .syncStatus |
triggerCrudUpload | () => void | AbstractStreamingSyncImplementation .triggerCrudUpload |
Accessors
isConnected
Get Signature
get isConnected(): boolean
Returns
boolean
Inherited from
AbstractStreamingSyncImplementation
.isConnected
lastSyncedAt
Get Signature
get lastSyncedAt(): undefined | Date
Returns
undefined
| Date
Inherited from
AbstractStreamingSyncImplementation
.lastSyncedAt
Methods
connect()
connect(options?): Promise<void>
Connects to the sync service
Parameters
Parameter | Type |
---|---|
options ? | PowerSyncConnectionOptions |
Returns
Promise
<void
>
Inherited from
AbstractStreamingSyncImplementation
.connect
disconnect()
disconnect(): Promise<void>
Disconnects from the sync services.
Returns
Promise
<void
>
Throws
if not connected or if abort is not controlled internally
Inherited from
AbstractStreamingSyncImplementation
.disconnect
dispose()
dispose(): Promise<void>