Commit dd79ffbd authored by Tristan Cavelier's avatar Tristan Cavelier

JobWorkspace asArray method added

parent 057e12b7
...@@ -58,6 +58,16 @@ JobWorkspace.prototype.load = function () { ...@@ -58,6 +58,16 @@ JobWorkspace.prototype.load = function () {
return this; return this;
}; };
/**
* Returns the array version of the job queue
*
* @method asArray
* @return {Array} The job queue as array
*/
JobWorkspace.prototype.asArray = function () {
return this._job_queue._array;
};
/** /**
* Post a job in the job queue * Post a job in the job queue
* *
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment