A signature of function conforming to push iteration protocol.
Used as PushIterable[PushIterator__symbol]
method implementation when passed to makePushIterable
function.
Optional
accept: Acceptor<T>A function to push iterated elements to. Accepts iterated element as its only parameter. May return
true
to suspend iteration, or false
to stop it.
Optional
mode: PushIterationModeOptional iteration mode hint declaring what accept
function shall do. Ignored without accept
parameter.
A push iterator instance to continue iteration with. If accept
returned false
then further iteration
won't be possible with returned iterator.
Generated using TypeDoc
Iterated elements type.