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
async function toWriteableArray(iterable) {
    var e_30, _a;
    const blob = [];
    try {
        for (var iterable_18 = __asyncValues(iterable), iterable_18_1; iterable_18_1 = await iterable_18.next(), !iterable_18_1.done;) {
            const it = iterable_18_1.value;
            blob.push(it);
        }
    }
    catch (e_30_1) { e_30 = { error: e_30_1 }; }
    finally {
        try {
            if (iterable_18_1 && !iterable_18_1.done && (_a = iterable_18.return)) await _a.call(iterable_18);
        }
        finally { if (e_30) throw e_30.error; }
    }
    return blob;
}