Closed dcruze96 closed 3 years ago
No Issue
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 Issue
Proposed Changes
Use a creational pattern like singleton design to have a single instance of get_data which can be used.
Addtional Info
The class getDataSingleton to encapsulate the get_data method so that there is only one instance of get_data which can be used.