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

feat: API stabilization #106

Closed
tatsuya6502 opened this issue Mar 21, 2022 · 0 comments · Fixed by #105
Closed

feat: API stabilization #106

tatsuya6502 opened this issue Mar 21, 2022 · 0 comments · Fixed by #105
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@tatsuya6502
Copy link
Member

Goals

  • Smaller core cache API
  • Prefer shorter names for common methods

Examples

  • get_or_insert_with(K, F)get_with(K, F)
  • get_or_try_insert_with(K, F)try_get_with(K, F)
  • blocking_insert(K, V)blocking().insert(K, V)
  • time_to_live()policy().time_to_live()
@tatsuya6502 tatsuya6502 self-assigned this Mar 21, 2022
@tatsuya6502 tatsuya6502 added the enhancement New feature or request label Mar 21, 2022
@tatsuya6502 tatsuya6502 added this to the v0.8.0 milestone Mar 21, 2022
@tatsuya6502 tatsuya6502 moved this from Todo to In Progress in Moka — Roadmap Mar 21, 2022
Repository owner moved this from In Progress to Done in Moka — Roadmap Mar 22, 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
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant