mirror of
https://github.com/wekan/wekan.git
synced 2025-12-19 08:50:13 +01:00
1 KiB
1 KiB
cfs-worker Public API
CollectionFS, file worker - handles file copies/versions
API documentation automatically generated by docmeteor.
TODO: Use power queue to handle throttling etc. Use observe to monitor changes and have it create tasks for the power queue to perform.
fs.FileWorker Object Server
This property FileWorker is defined in FS
FS.FileWorker = { ...fileWorker.js:9
fsFileworker.observe(fsCollection) Server
This method observe is defined in FS.FileWorker
Arguments
- fsCollection {FS.Collection}
Returns {undefined}
Sets up observes on the fsCollection to store file copies and delete temp files at the appropriate times.
FS.FileWorker.observe = function(fsCollection) { ...fileWorker.js:20