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
Sometimes to use some utility functions you need to instantiate a new instance just to do translucent.utils.<whatever>.
This is inconvenient and ideally would be done under a namespace or just free functions that you can import anywhere.
Checking what's translucent needed inside the utils class, it's only being used to get the network setting.
This could be fixed by passing the network as an extra parameter and decoupling the utility functions from any instance.
The text was updated successfully, but these errors were encountered:
Sometimes to use some utility functions you need to instantiate a new instance just to do
translucent.utils.<whatever>
.This is inconvenient and ideally would be done under a namespace or just free functions that you can import anywhere.
Checking what's translucent needed inside the utils class, it's only being used to get the network setting.
This could be fixed by passing the network as an extra parameter and decoupling the utility functions from any instance.
The text was updated successfully, but these errors were encountered: