src/vs/workbench/api/common/extHostTypeConverters.ts/toDataTransferDTO
	export async function toDataTransferDTO(value: vscode.DataTransfer | VSDataTransfer): Promise<extHostProtocol.DataTransferDTO> {
		const newDTO: extHostProtocol.DataTransferDTO = { items: [] };

		const promises: Promise<any>[] = [];

		value.forEach((value, key) => {
			promises.push((async () => {
				newDTO.items.push([key, await DataTransferItem.from(key, value)]);
			})());
		});

		await Promise.all(promises);

		return newDTO;
	}