72
73
constructor(
75
>
public readonly _computeFn: (reader: IDerivedReader<TChange>, changeSummary: TChangeSummary) => T,
76
>
private readonly _changeTracker: IChangeTracker<TChangeSummary> | undefined,
77
>
private readonly _handleLastObserverRemoved: (() => void) | undefined = undefined,
78
>
private readonly _equalityComparator: EqualityComparer<T>,
79
>
debugLocation: DebugLocation,
80
>
) {
81
>
super(debugLocation);
82
>
this._changeSummary = this._changeTracker?.createChangeSummary(undefined);
83
>
}
84
85
protected override onLastObserverRemoved(): void {