src/vs/workbench/contrib/userDataSync/browser/userDataSyncViews.ts/UserDataSyncActivityViewDataProvider/getSyncResourceHandles
class UserDataSyncActivityViewDataProvider:	private getSyncResourceHandles(): Promise<ISyncResourceHandle[]> {
		if (this.syncResourceHandlesPromise === undefined) {
			this.syncResourceHandlesPromise = Promise.all(ALL_SYNC_RESOURCES.map(async syncResource => {
				const resourceHandles = await this.getResourceHandles(syncResource);
				resourceHandles.sort((a, b) => b.created - a.created);
				return resourceHandles.map((resourceHandle, index) => ({ ...resourceHandle, syncResource, previous: resourceHandles[index + 1] }));
			})).then(result => flatten(result).sort((a, b) => b.created - a.created));
		}
		return this.syncResourceHandlesPromise;
	}