Why the specification doesn't include a synchronous gauge? #2882
-
I have a use case where using a synchronous gauge will make things simpler, although I was able to implement a solution based on the callbacks I would like to understand if there are technical reasons to not implement a sync api for the gauge or do you understand it is conceptually wrong for some reason I can't see. My use case is reporting metrics from datomic peer library which is also callback based, so I can't ask for this metrics to datomic whenever the |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Synchronous gauge is a rather popular request, which I think will likely be added to the spec in the future. The workaround you've described is how I would solve this in the interim - obviously not ideal. |
Beta Was this translation helpful? Give feedback.
-
@jack-berg perhaps you can help me with a question that raises with this solution that won't appear with the sync api... |
Beta Was this translation helpful? Give feedback.
Synchronous gauge is a rather popular request, which I think will likely be added to the spec in the future. The workaround you've described is how I would solve this in the interim - obviously not ideal.