src/vs/base/common/async.ts/ResourceQueue/isDrained
class ResourceQueue:	private isDrained(): boolean {
		for (const [, queue] of this.queues) {
			if (queue.size > 0) {
				return false;
			}
		}

		return true;
	}