Moments granularity #609
timothysparg
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I really like the idea around the Moments API, but it doesn't quite fit my use case and would like to have a bit of a discussion to see if it should, and if see how best to achieve that.
My current use case is that I have A Spring Boot application that fetches events from several REST endpoints at intervals ranging from 5 minutes to every hour.
So Simplistically for my use case we could introduce and emit the following events
And that would be solve my problem ...
But in the context of a framework developer that doesn't really seem like a sound approach 🙃
I wonder if there shouldn't be a more generic approach - something like
and then each of those can then specify the amount of Days/Hours/Minutes that have passed?
Not sure if that's the correct answer either - but I am interested in starting the discussion
Beta Was this translation helpful? Give feedback.
All reactions