Warning: session_start(): open(/var/lib/php/sessions/sess_7en13sqv41mo6ecu3t80k70hvo, 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
sclass SimpleLiveValue extends LiveValue {
Class type;
volatile A value;
transient L onChange = synchroList();
*(Class *type) {}
*(Class *type, A *value) {}
public Class getType() { ret type; }
public A get() { ret value; }
public void onChange(Runnable l) { onChange.add(l); }
public void onChangeAndNow(Runnable l) { onChange(l); callF(l); }
public void removeOnChangeListener(Runnable l) { onChange.remove(l); }
void fireChanged() {
pcallFAll(onChange);
}
void set(A a) { if (neq(value, a)) { value = a; fireChanged(); } }
}