|
@@ -100,6 +100,8 @@ function initializeData() {
|
|
|
}
|
|
|
|
|
|
/* Type 1 synchronization */
|
|
|
+/* Please note that this operation assumes that there's already existing data in the designated storage place. It still cannot perform real-time live streaming dynamically
|
|
|
+when there is a streaming occuring. */
|
|
|
source_synchronize.init(settings).then(() => {
|
|
|
source_synchronize.subscribe(source_payload_string).then((data) => {
|
|
|
data.subscribe({
|
|
@@ -112,11 +114,5 @@ source_synchronize.init(settings).then(() => {
|
|
|
})
|
|
|
})
|
|
|
|
|
|
-// synch.subscribe({
|
|
|
-// next: (data) => {
|
|
|
-// target_payload_subject.next(data)
|
|
|
-// console.log(data)
|
|
|
-// }
|
|
|
-// })
|
|
|
-
|
|
|
+/* Run this code to pluck some data into the database. 4 in File storage and 2 in Mongo */
|
|
|
// initializeData()
|