Warning: session_start(): open(/var/lib/php/sessions/sess_h14m509gps2pm0qev56is6ffpv, 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
concept LoadedFunction {
S code;
transient O runnable;
transient S methodName;
S providedByModule;
transient bool loading;
void load() {
if (runnable != null) ret;
if (loading) ret;
loading = true;
assertIdentifier(code);
runnable = loadFunctions_cached(code);
methodName = code;
}
}
module LoadedFunctions > DynCRUD {
start {
thread "Load All Functions" {
for (LoadedFunction f) f.load();
}
}
// API
void loadFunction(S code) {
uniq_sync(LoadedFunction, +code).load();
}
}