BaseObserver<T>
Extended by
AbstractPowerSyncDatabase
BucketStorageAdapter
SqliteBucketStorage
StreamingSyncImplementation
AbstractStreamingSyncImplementation
DataStream
WASQLiteDBAdapter
Type Parameters
Type Parameter | Default type |
---|---|
T extends BaseListener | BaseListener |
Implements
Constructors
new BaseObserver()
new BaseObserver<T>(): BaseObserver<T>
Returns
BaseObserver
<T
>
Methods
iterateAsyncListeners()
iterateAsyncListeners(cb): Promise<void>
Parameters
Parameter | Type |
---|---|
cb | (listener ) => Promise <any > |
Returns
Promise
<void
>
iterateListeners()
iterateListeners(cb): void
Parameters
Parameter | Type |
---|---|
cb | (listener ) => any |
Returns
void
registerListener()
registerListener(listener): () => void
Register a listener for updates to the PowerSync client.
Parameters
Parameter | Type |
---|---|
listener | Partial <T > |
Returns
Function
Returns
void