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

Add a cache mechanism for tasks #24

Closed
dakk opened this issue May 6, 2022 · 0 comments
Closed

Add a cache mechanism for tasks #24

dakk opened this issue May 6, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@dakk
Copy link
Contributor

dakk commented May 6, 2022

A task should be able to maintain some persistent data. We have several ways to achieve this:

Task primitives

We introduce two primitives of Task: dataSet(k, v) and dataGet(k)

Persistent decorator

Add a decorator @persistent which automatically save and restore Task data

New service injected

Add a service injected to Task

@dakk dakk added the enhancement New feature or request label May 6, 2022
@dakk dakk self-assigned this May 6, 2022
@dakk dakk closed this as completed Oct 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant