API reference@melon-db/sync
SyncBackend
@melon-db/sync — SyncBackend
Interface: SyncBackend
Defined in: packages/melon-sync/src/protocol.ts:26
Methods
pullChanges()
pullChanges(
args):Promise<PullResult>
Defined in: packages/melon-sync/src/protocol.ts:27
Parameters
| Parameter | Type |
|---|---|
args | PullArgs |
Returns
Promise<PullResult>
pushChanges()
pushChanges(
args):Promise<void>
Defined in: packages/melon-sync/src/protocol.ts:28
Parameters
| Parameter | Type |
|---|---|
args | PushArgs |
Returns
Promise<void>
