/** * Taken from https://github.com/microsoft/vscode/blob/e8e6e1f69c34232ea2668d3ea2c1c0393303474f/src/vs/workbench/api/common/extHostAuthentication.ts#L122-L136 * Given a task with the same key, it will only run one at a time and will return the same promise for all calls with the same key. */ export declare class TaskSingler { private _inFlightPromises; getOrCreate(key: string, promiseFactory: () => Promise): Promise; } //# sourceMappingURL=taskSingler.d.ts.map