import listeners.DummyListenerHandle; export class ImmutableLiveObject { val value as T : get; public this(value as T) { this.value = value; } public implements LiveObject { addListener(listener) => new DummyListenerHandle.Listener>(listener); } }