IteratorAbortResultinterface

{
	done: typeof ABORT;
	value: R;
}
PropertyType
.donetypeof ABORT
Always the ABORT symbol, marking this result as an external abort rather than the iterator finishing. required
.valueR
The value the abort signal resolved with. required

Result of an iterator that was aborted via an external signal rather than concluding itself.

  • done is the ABORT symbol, distinguishing it from an iterator's own done: true result.