new subjects

This commit is contained in:
Niels Lyngsø
2023-01-24 13:01:40 +01:00
parent 719d88d6a7
commit 60a2022f66
3 changed files with 41 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
import { BasicState } from "./basic-state";
/**
* @export
* @class StringState
* @extends {BehaviorSubject<T>}
* @description - A RxJS BehaviorSubject this Subject ensures the data is unique, not updating any Observes unless there is an actual change of the value.
*/
export class StringState<T extends string | undefined | null> extends BasicState<T> {
}