Closed dcruze96 closed 3 years ago
No issues
Use a creational pattern like singleton design to have a single instance of get_data which can be used.
The class getDataSingleton to encapsulate the get_data method so that there is only one instance of get_data which can be used.
Related Issue:
No issues
Proposed Changes
Use a creational pattern like singleton design to have a single instance of get_data which can be used.
Additional Info
The class getDataSingleton to encapsulate the get_data method so that there is only one instance of get_data which can be used.