JanetDocsSourcePlaygroundI'm feeling luckyCommunityGitHub sign in

spork/tasker/queue-task

spork


    function
    /usr/local/lib/janet/spork/tasker.janet on line 171, column 1

    
    (queue-task tasker argv &opt note priority qname timeout expiration input)

    Add a task specification to a queue. Supply an argv string array 
    that will be used to invoke a subprocess. The optional `note` 
    parameter is just a textual note for task tracking. The `priority` 
    parameter should be an integer between 0 and 9 inclusive, default 
    is 4. Lower priority jobs in the same queue will be executed by 
    higher priority. Use input to pass in generic, unstructured input 
    to a task.


0 examplesSign in to add an example
Loading...