WebStreamingSyncImplementation
Extends
Extended by
Constructors
new WebStreamingSyncImplementation()
new WebStreamingSyncImplementation(options): WebStreamingSyncImplementation
Parameters
Parameter | Type |
---|---|
options | WebStreamingSyncImplementationOptions |
Returns
WebStreamingSyncImplementation
Overrides
AbstractStreamingSyncImplementation
.constructor
Properties
Property | Type | Inherited from |
---|---|---|
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
webOptions
Get Signature
get webOptions(): WebStreamingSyncImplementationOptions
Returns
WebStreamingSyncImplementationOptions
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>
Returns
Promise
<void
>