Consistent naming for ext host <-> main process communication

This commit is contained in:
Alex Dima
2016-07-12 21:14:43 +03:00
parent bdaa72b842
commit 217e0b56a8
16 changed files with 109 additions and 109 deletions

View File

@@ -17,7 +17,7 @@ export class MainThreadStorage extends MainThreadStorageShape {
this._storageService = storageService;
}
getValue<T>(shared: boolean, key: string): TPromise<T> {
$getValue<T>(shared: boolean, key: string): TPromise<T> {
let jsonValue = this._storageService.get(key, shared ? StorageScope.GLOBAL : StorageScope.WORKSPACE);
if (!jsonValue) {
return TPromise.as(undefined);
@@ -31,7 +31,7 @@ export class MainThreadStorage extends MainThreadStorageShape {
}
}
setValue(shared: boolean, key: string, value: any): TPromise<any> {
$setValue(shared: boolean, key: string, value: any): TPromise<any> {
let jsonValue: any;
try {
jsonValue = JSON.stringify(value);