src/IronWorker.php
public function postTask($name, $payload = array(), $options = array())
    {
        $ids = $this->postTasks($name, array($payload), $options);

        return $ids[0];
    }
public function postTask($name, $payload = array(), $options = array())
    {
        $ids = $this->postTasks($name, array($payload), $options);

        return $ids[0];
    }
public function postTask ( $ name , $ payload = array ( ) , $ options = array ( ) ) { $ ids = $ this -> postTasks ( $ name , array ( $ payload ) , $ options ) ; return $ ids [ 0 ] ; }
Queues already uploaded worker

@param string $name Package name
@param array $payload Payload for task
@param array $options Optional parameters:
- "priority" priority queue to run the job in (0, 1, 2). 0 is default.
- "timeout" maximum runtime of your task in seconds. Maximum time is 3600 seconds (60 minutes).
Default is 3600 seconds (60 minutes).
- "delay" delay before actually queueing the task in seconds. Default is 0 seconds.
@return string Created Task ID
Queues already uploaded worker