it("iterates the second sequence completely when the first element is read from the result", () => {
        const second = from([1, 2, 3]).select(n => {
            if (n !== 3) return n;
            throw "This is expected";
        });