async function toArray(iterable) {
    var e_29, _a;
    const blob = [];
    try {
        for (var iterable_17 = __asyncValues(iterable), iterable_17_1; iterable_17_1 = await iterable_17.next(), !iterable_17_1.done;) {
            const it = iterable_17_1.value;
            blob.push(it);
        }
    }
    catch (e_29_1) { e_29 = { error: e_29_1 }; }
    finally {
        try {
            if (iterable_17_1 && !iterable_17_1.done && (_a = iterable_17.return)) await _a.call(iterable_17);
        }
        finally { if (e_29) throw e_29.error; }
    }
    return blob;
}
async function toArray(iterable) {
    var e_29, _a;
    const blob = [];
    try {
        for (var iterable_17 = __asyncValues(iterable), iterable_17_1; iterable_17_1 = await iterable_17.next(), !iterable_17_1.done;) {
            const it = iterable_17_1.value;
            blob.push(it);
        }
    }
    catch (e_29_1) { e_29 = { error: e_29_1 }; }
    finally {
        try {
            if (iterable_17_1 && !iterable_17_1.done && (_a = iterable_17.return)) await _a.call(iterable_17);
        }
        finally { if (e_29) throw e_29.error; }
    }
    return blob;
}
async function toArray ( iterable ) { var e_29 , _a ; const blob = [ ] ; try { for ( var iterable_17 = __asyncValues ( iterable ) , iterable_17_1 ; iterable_17_1 = await iterable_17 . next ( ) , ! iterable_17_1 . done ; ) { const it = iterable_17_1 . value ; blob . push ( it ) ; } } catch ( e_29_1 ) { e_29 = { error : e_29_1 } ; } finally { try { if ( iterable_17_1 && ! iterable_17_1 . done && ( _a = iterable_17 . return ) ) await _a . call ( iterable_17 ) ; } finally { if ( e_29 ) throw e_29 . error ; } } return blob ; }
Evaluate the entire iterable to a readonly array. Provided as type deduction seems to fail when using Array.from to accomplish this outside of a lamda
Evaluate the entire iterable to a readonly array . Provided as type deduction seems to fail when using Array . from to accomplish this outside of a lamda