mobx#ObservableSet TypeScript Examples
The following examples show how to use
mobx#ObservableSet.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: Sync.ts From revite with GNU Affero General Public License v3.0 | 6 votes |
/**
* Construct new Sync store.
*/
constructor(state: State) {
this.state = state;
this.disabled = new ObservableSet();
this.revision = new ObservableMap();
makeAutoObservable(this);
this.isEnabled = this.isEnabled.bind(this);
}
Example #2
Source File: DrawioEditorService.ts From vscode-drawio with GNU General Public License v3.0 | 5 votes |
public readonly openedEditors = new ObservableSet<DrawioEditor>();
Example #3
Source File: Experiments.ts From revite with GNU Affero General Public License v3.0 | 5 votes |
/**
* Construct new Experiments store.
*/
constructor() {
this.enabled = new ObservableSet();
makeAutoObservable(this);
}
Example #4
Source File: Experiments.ts From revite with GNU Affero General Public License v3.0 | 5 votes |
private enabled: ObservableSet<Experiment>;
Example #5
Source File: Sync.ts From revite with GNU Affero General Public License v3.0 | 5 votes |
private disabled: ObservableSet<SyncKeys>;