es6-iterator-seq

functionsince v0.0-2411Edit
(es6-iterator-seq iter)

Source docstring:
Given an ES2015+ compatible iterator return a seq.
Source code @ clojurescript:src/main/cljs/cljs/core.cljs
(defn es6-iterator-seq
  [iter]
  (let [v (.next iter)]
    (if (.-done v)
      nil
      (ES6IteratorSeq. (.-value v) iter nil))))