nl_tokens: Add progress information to an existing job : - uuid - String the Job s UUID . - info - Object { key = > Value } - meta - Any additional information to pass to the backend which is not job info - callback - f ( err )
pl_tokens: function addInfo ( uuid , info , meta , callback ) { if ( typeof ( meta ) === 'function' ) { callback = meta ; meta = { } ; } if ( ! jobs [ uuid ] ) { return callback ( new e . BackendResourceNotFoundError ( 'Job does not exist. Cannot Update.' ) ) ; } else { if ( ! util . isArray ( jobs [ uuid ] . info ) ) { jobs [ uuid ] . info = [ ] ; } jobs [ uuid ] . info . push ( info ) ; return <mask> ( null ) ; } }