src/vs/base/common/async.ts/AsyncIterableObject/fromPromise
class AsyncIterableObject:	public static fromPromise<T>(promise: Promise<T[]>): AsyncIterableObject<T> {
		return new AsyncIterableObject<T>(async (emitter) => {
			emitter.emitMany(await promise);
		});
	}