You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FilesystemStorageWorker creates local file list and keeps it up to date, emmits events on changes
CloudStorageWorker creates Server file list and keeps it up to date, emmits events on changes; has a .go() method and provides a ready event that is emmitted when the initial file list download has finished, right before starting to longpoll. We bind the merge worker .go() method to it and then run the CloudStorageWorker.go() method. That way it's impossible that MergeWorker misses to start.
MergeWorker listens to both other workers events and decides what to do, queues these jobs for upload and download workers
FilesystemStorageWorkercreates local file list and keeps it up to date, emmits events on changesCloudStorageWorkercreates Server file list and keeps it up to date, emmits events on changes; has a.go()method and provides areadyevent that is emmitted when the initial file list download has finished, right before starting to longpoll. We bind the merge worker.go()method to it and then run theCloudStorageWorker.go()method. That way it's impossible thatMergeWorkermisses to start.MergeWorkerlistens to both other workers events and decides what to do, queues these jobs for upload and download workers