Closed BryanChrisBrown closed 1 year ago
This PR gives us an idea of what it'd look like to make the Bridge object a singleton.
This means only one bridge client would exist.
It'd allow us to share/use the bridgeclient elsewhere in the codebase as well.
An example here I used is a get/setter for error verbosity, which allows us (and our end users) to control how the rest of the codebase logs errors.
This PR gives us an idea of what it'd look like to make the Bridge object a singleton.
This means only one bridge client would exist.
It'd allow us to share/use the bridgeclient elsewhere in the codebase as well.
An example here I used is a get/setter for error verbosity, which allows us (and our end users) to control how the rest of the codebase logs errors.