Commit 9eb9f121 authored by Tristan Cavelier's avatar Tristan Cavelier

JobWorkspace asArray method added

parent 11fe07cb
...@@ -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