-
Notifications
You must be signed in to change notification settings - Fork 0
Extentions entry points
Liam edited this page Mar 26, 2021
·
2 revisions
When extending PackDB we suggest you provide a simple way for users of your extention to create data managers. One way to do this would be to have a static DataManagerFactory class that has a method or multiple methods depending on the configurability of your extention that returns a DataManager object.
The factory would take care of creating the workers and injecting them into the DataManager class when you create that. This would allow users of your extention to be able to simply call the DataManagerFactory without having to worry about the ways in which a DataManager is created.