src/vs/base/parts/ipc/common/ipc.net.ts/Queue/length
class Queue:	public length(): number {
		let result = 0;
		let current = this._first;
		while (current) {
			current = current.next;
			result++;
		}
		return result;
	}