src/vs/workbench/api/common/extHostWorkspace.ts/ExtHostWorkspace/getWorkspaceFolders2
class ExtHostWorkspace:	async getWorkspaceFolders2(): Promise<vscode.WorkspaceFolder[] | undefined> {
		await this._barrier.wait();
		if (!this._actualWorkspace) {
			return undefined;
		}
		return this._actualWorkspace.workspaceFolders.slice(0);
	}