This abstract enables easy conversion from basic lua iterators (i.e., a function that is called until it returns null), and Haxe iterators, which provide a next/hasNext interface.

Constructor

@:implnew (f:Void ‑> T)

Methods

@:impl@:totoIterator ():Iterator<T>

Static methods

@:fromstaticfromF<T> (f:Void ‑> T):NativeIterator<T>