blob: c588d68b9f626d44482486d420e64e41e76ad9b8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
export {
IObservable,
IObserver,
IReader,
ISettable,
ISettableObservable,
ITransaction,
observableValue,
transaction,
} from 'vs/base/common/observableImpl/base';
export { derived } from 'vs/base/common/observableImpl/derived';
export {
autorun,
autorunDelta,
autorunHandleChanges,
autorunWithStore,
} from 'vs/base/common/observableImpl/autorun';
export * from 'vs/base/common/observableImpl/utils';
import { ConsoleObservableLogger, setLogger } from 'vs/base/common/observableImpl/logging';
const enableLogging = false;
if (enableLogging) {
setLogger(new ConsoleObservableLogger());
}
|