Pop Job and Run
ok, rv… = jqo:poprun()
Pops a job from the queue and runs it.
Returns | Type | Description |
---|---|---|
ok |
boolean | True if run correctly |
rv… |
various | Return values from the function |
e.g.
jq = jobq.new()
…
local res = { jq:poprun() }
-- res[1] is the `ok` result
-- res[2]..res[n] are the return values