Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improvements to Job Iteration #3957

Closed
wants to merge 8 commits into from
Closed

Conversation

d80tb7
Copy link
Collaborator

@d80tb7 d80tb7 commented Sep 20, 2024

  • Define Job and JobContext Iterators based on Go's new iterator syntax
  • Define some iterator helper functions based on proposal: x/exp/xiter: new package with iterator adapters golang/go#61898. Hopefully similar functions should become part of the go stdlib in a future go release and we can easily move to those when they become available.
  • Modify Job Repository so that it becimes simply an inteface for looking up jobs and getting the JobIterator for a queue

Signed-off-by: Chris Martin <chris@cmartinit.co.uk>
Signed-off-by: Chris Martin <chris@cmartinit.co.uk>
Signed-off-by: Chris Martin <chris@cmartinit.co.uk>
Signed-off-by: Chris Martin <chris@cmartinit.co.uk>
Signed-off-by: Chris Martin <chris@cmartinit.co.uk>
Signed-off-by: Chris Martin <chris@cmartinit.co.uk>
@d80tb7 d80tb7 changed the title Imrprovements to Job Iteration Improvements to Job Iteration Sep 20, 2024
Signed-off-by: Chris Martin <chris@cmartinit.co.uk>
@d80tb7 d80tb7 closed this Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant