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

Pass Clock to entry point #1

Open
tadfisher opened this issue Oct 3, 2024 · 1 comment
Open

Pass Clock to entry point #1

tadfisher opened this issue Oct 3, 2024 · 1 comment

Comments

@tadfisher
Copy link

tadfisher commented Oct 3, 2024

Seems like passing Clock through the entrypoint to the Sqkon constructor, instead of hardcoding nowMillis to use Clock.System, would allow for testing cache behavior.

@chrisjenx
Copy link
Collaborator

Good call

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

2 participants