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

create memoize decorator #832

Open
kfarkasHU opened this issue Jul 3, 2024 · 1 comment
Open

create memoize decorator #832

kfarkasHU opened this issue Jul 3, 2024 · 1 comment
Labels
feat New feature or request

Comments

@kfarkasHU
Copy link
Collaborator

kfarkasHU commented Jul 3, 2024

It should concatenate the params as JSON strings the calculate the base64 of them - for key

@Memoize(TOKEN)
public calculate(): string {
 /// ...
}

// calleee
MemoizeService.reset(TOKEN)

Blockers:

@kfarkasHU kfarkasHU added the feat New feature or request label Jul 3, 2024
@kfarkasHU
Copy link
Collaborator Author

Mb it has a subtask to add base64 enc/dec to crypto

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant