ES6IteratorSeq

typesince v0.0-2411Edit
satisfies IPrintWithWriter ISeq ISeqable

(ES6IteratorSeq. value iter _rest)

Source code @ clojurescript:src/main/cljs/cljs/core.cljs
(deftype ES6IteratorSeq [value iter ^:mutable _rest]
  ISeqable
  (-seq [this] this)
  ISeq
  (-first [_] value)
  (-rest [_]
    (when (nil? _rest)
      (set! _rest (es6-iterator-seq iter)))
    _rest))