Function: mergePolicy()
function mergePolicy(patch?, base?): SyncPolicy;
Defined in: policy.ts:73
Merges patch over base (the shipped defaults unless a base is given) and
normalises the result. undefined members of patch are ignored rather than
overwriting, so { batchSize: undefined } from a spread stays harmless.
Parameters
| Parameter | Type |
|---|---|
patch? | Partial<SyncPolicy> |
base? | SyncPolicy |