← All docs
stream_set_timeout() — internals
Compiler internals for stream_set_timeout(): lowering path, type checks, and runtime helpers.
stream_set_timeout() — internals
Where it lives
- Signature:
src/builtins/io/stream_set_timeout.rs - Lowering:
src/codegen/lower_inst/builtins/io.rs:2265 (lower_stream_set_timeout) - Function symbol:
lower_stream_set_timeout()
Lowering notes
- Lowers
stream_set_timeout(stream, seconds, microseconds?).
Runtime helpers
No direct __rt_* helpers captured — the lowering is inlined or routes through another builtin.
Signature summary
function stream_set_timeout(resource $stream, int $seconds, int $microseconds = 0): bool
What the type checker enforces
- Arity: takes 2–3 arguments (1 optional).
Eval interpreter (magician)
- Declaration:
crates/elephc-magician/src/interpreter/builtins/filesystem/stream_set_timeout.rs(eval_builtin!) - Dispatch hooks:
direct,values