Wiki

Clone wiki

atlasboard / storage

About storage

storage allows you to persist data in a 'per job scope'

right now only filesystem storage is implemented, but it is easy to add more.

have a look at the folder /lib/job-dependencies/storage for more info

Code example

getting data from storage

#!javascript

dependencies.storage.get('lastupdate', function(err, data){

});

saving data on the storage

#!javascript

dependencies.storage.set('lastupdate', +new Date(), function(err, data){

});

Updated