TimeoutPackage S¶
timeout.spad line 1 [edit on github]
S: Type
This package supports evaluation with timeout.
- eval_with_timeout: (() -> S, Integer) -> Union(S, failed)
eval_with_timeout(f, t)
callsf
with timeout oft
seconds. Returns value computed byf
or “failed” iff
did not finish withint
seconds.