gitoriaLog in with ident

calendar

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commitbe099807be099807State of 2026-09-27, before the move to gitoriamrebe099807/plugins/mpackdb/cursor.hl

348 B

  1. \* A lazy result cursor: each next() decodes ONE record. Handed out by
  2. MPackDB.cursor(); never `new`ed by app code. *\
  3. Hybrid #iter
  4. \* Next record, or null when exhausted. *\
  5. next() {
  6. return #iter.next()
  7. }
  8. \* Remaining records as a Hybrid (consumes the cursor). *\
  9. all() {
  10. let out = []
  11. for (rec of #iter) {
  12. out.push(rec)
  13. }
  14. return out
  15. }

Branches

Latest commits

  • be099807State of 2026-09-27, before the move to gitoriamre