Warning: session_start(): open(/var/lib/php/sessions/sess_9ntvi17farnfgrrnbkl0gavdr4, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51
Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
!7
set flag DynModule. // use central transpiler
cmodule StandardFunction {
switchable S functionName;
transient DynamicCallable f;
transient Throwable error;
start {
onChange(r { setModuleName("Function " + functionName); });
thread { loadFunction(); }
}
void loadFunction() q {
try {
f = methodAsDynamicCallable(loadFunctions_cached(functionName), functionName);
} catch e {
error = e;
}
}
// API
S functionName() { ret functionName; }
O callTheFunction(O... args) {
while (f == null && error == null) sleep(10);
if (error != null) throw rethrow(error);
ret callF(f, args);
}
}