You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
depending on whether you only care about using this specific provider but want to hide the return type from any callers (impl) or you potentially want to work with lots of different providers (dyn).
Additionally, if you want to abstract even further, then it might be worth using on_builtin() rather than on_http() but that opens another can of worms.
Component
provider, pubsub
Describe the feature you would like
I want to create a function to return Provider type,but I must use type alias to define a looong provider type:
how do i simplify this code ? thanks in advance .
Additional context
No response
The text was updated successfully, but these errors were encountered: