static A evalWithTimeoutOrTypedException(int timeoutMS, IF0 f) {
Either e = evalWithTimeout(timeoutMS, f);
if (e.isA()) ret (A) e.a();
throw TimeoutException(
timeoutMS,
f,
thread);
}
static A evalWithTimeoutOrTypedException(double timeoutSeconds, IF0 f) {
ret evalWithTimeoutOrTypedException(toMS_int(timeoutSeconds), f);
}