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

Context #7

Open
reynoldsbd opened this issue Oct 24, 2020 · 0 comments
Open

Context #7

reynoldsbd opened this issue Oct 24, 2020 · 0 comments

Comments

@reynoldsbd
Copy link
Owner

Add type parameter to Job trait and Scheduler struct representing a Context that is passed by reference to all Job methods. Intent is to eliminate the need for each Job instance to carry its own references to shared state.

If possible, default Context type should be the unit struct ().

reynoldsbd added a commit that referenced this issue Apr 12, 2021
Implement concurrent job execution using FuturesUnordered (#1)

Make jobs generic over context type C (#7)

Refactor APIs to use visitor(ish) pattern PlanBuilder. Eliminates async-trait dependency, reduces number of allocations needed to use this API, and IMO is more ergonomic.
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

No branches or pull requests

1 participant