35
);
36
}
38
>
// eslint-disable-next-line local/code-no-any-casts
39
>
new DebugNameData(undefined, undefined, computeFnOrOwner as any),
40
>
// eslint-disable-next-line local/code-no-any-casts
41
>
computeFnOrOwner as any,
42
>
undefined,
43
>
undefined,
44
>
strictEquals,
45
>
debugLocation,
46
>
);
47
>
}
48
49
export function derivedWithSetter<T>(owner: DebugOwner | undefined, computeFn: (reader: IReader) => T, setter: (value: T, transaction: ITransaction | undefined) => void, debugLocation = DebugLocation.ofCaller()): ISettableObservable<T> {