Creating Provider In Riverpod #3944
Unanswered
DevThurain
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am learning riverpod framework and a little bit confuse about creating providers.
I have a singleton class which do heavy calculation (asynchronous functions) in init state. I want to bind this class with provider but I don't want to use future provider. I will mainly read values from those provider and I don't want to use await every time I want to read values from those singleton provider. Is there any cleaner approach?
Beta Was this translation helpful? Give feedback.
All reactions