This commit is contained in:
Niels Lyngsø
2023-01-06 16:35:54 +01:00
parent e9b91b6804
commit 94aeb1f86d

View File

@@ -26,7 +26,7 @@ export function CreateObservablePart<T, R> (
return source$.pipe(
map(mappingFunction),
distinctUntilChanged(memoizationFunction || defaultMemoization),
shareReplay(1) // TODO: investigate what happens if this was removed.
shareReplay(1) // TODO: investigate what happens if this was removed. (its suppose to only give the first subscriber the current value, but i want to test this)
)
}