Closed mgoria closed 7 years ago
I'm receiving this error after I set onDatasetsMerged callback to return true, and according to README.md it should continue the synchronization process:
onDatasetsMerged
true
continue the synchronization process
dataset.synchronize({ // ... onDatasetsMerged: (dataset, datasetNames, callback) => { return callback(true); } });
Can someone help me understand how onDatasetsMerged method works, should I write the logic to merge datasets or it's merged automatically ?
A basic code snippet would be much appreciated :)
Thanks!
Hi!
See answer below on the cases when onDatasetsMerged will be called:
https://forums.aws.amazon.com/thread.jspa?threadID=179708
Ionut.
@itrestian Thanks, I'll take a look.
I'm receiving this error after I set
onDatasetsMerged
callback to returntrue
, and according to README.md it shouldcontinue the synchronization process
:Can someone help me understand how
onDatasetsMerged
method works, should I write the logic to merge datasets or it's merged automatically ?A basic code snippet would be much appreciated :)
Thanks!