src/vs/workbench/contrib/snippets/browser/snippetsService.ts/SnippetsService/_joinSnippets
class SnippetsService:	private _joinSnippets(): Promise<any> {
		const promises = this._pendingWork.slice(0);
		this._pendingWork.length = 0;
		return Promise.all(promises);
	}