curl_multi_select()
function curl_multi_select(CurlMultiHandle $multi_handle, float $timeout = 1.0): int
Waits until there is activity on any cURL multi connection.
Parameters:
$multi_handle(CurlMultiHandle)$timeout(float), default1.0, optional
Returns: int
Availability
- Compiled (AOT): supported through the compiler-injected curl prelude.
eval()(magician interpreter): supported — declarative interpreter builtin (crates/elephc-magician/src/interpreter/builtins/curl/curl_multi_select.rs).
No examples yet — check examples/ and showcases/ for usage patterns.
Internals
For how curl_multi_select is implemented in the compiler, see the internals page.