Name
multi:Wait -- polls on all easy handles in a multi handle
Synopsis
multi:Wait(timeout_ms)
Function
multi:Wait() polls all file descriptors used by the curl easy handles contained in the given multi handle set. 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.

Inputs
timeout_ms
maximum amount of time to wait (in milliseconds)

Show TOC