multi:Wait(timeout_ms)
multi:Wait()
polls all file descriptors used by the curl easy handles contained in the given multi handle get. It will
block until activity is detected on at least one of the handles or timeout_ms
has passed. Alternatively, if the multi handle
has a pending internal timeout that has a shorter expiry time than timeout_ms
, that shorter time will be used instead to make
sure timeout accuracy is reasonably kept.