constructor Method

Construct a ConflictResolutionPolicy.

ConflictResolutionPolicy(updateVsUpdate?: ConcurrencyControl.OnConflict, updateVsDelete?: ConcurrencyControl.OnConflict, deleteVsUpdate?: ConcurrencyControl.OnConflict): ConcurrencyControl.ConflictResolutionPolicy

Parameter Type Description
updateVsUpdate ConcurrencyControl.OnConflict What to do with the incoming change in the case where the same element was updated locally and also would be updated by the incoming change
updateVsDelete ConcurrencyControl.OnConflict What to do with the incoming change in the case where an element was updated locally and would be deleted by the incoming change
deleteVsUpdate ConcurrencyControl.OnConflict What to do with the incoming change in the case where an element was deleted locally and would be updated by the incoming change

Defined in

Last Updated: 03 June, 2019