def wait_task(taskID, time_before_retry = WAIT_TASK_DEFAULT_TIME_BEFORE_RETRY, request_options = {})
      client.wait_task(name, taskID, time_before_retry, request_options)
    end
def wait_task(taskID, time_before_retry = WAIT_TASK_DEFAULT_TIME_BEFORE_RETRY, request_options = {})
      client.wait_task(name, taskID, time_before_retry, request_options)
    end
Wait the publication of a task on the server.
 All server task are asynchronous and you can check with this method that the task is published.

 @param taskID the id of the task returned by server
 @param time_before_retry the time in milliseconds before retry (default = 100ms)
 @param request_options contains extra parameters to send with your query