Service (an object that provides functionality to anything else that requests it).
Process (an interface repressing something with a lifespan).
This new system makes it so that a Service and Process can clearly be initalised and killed similar to the windows task manager.
Processes now have Sub Processes which depend on the process it is on and will be killed once its super/parent process is killed.
This makes sense for Mods as they are technically a Process and ModService being a parent Process allows for everything to run correctly even if there is an error in one part of the system and the worst case senario is ModService dying causing all the Mods to stop working/be killed.
Future implementations
Disabling of Processes (Different to killing)
Suspension of AsyncServices
Finish GUI System
Type of change
[X] Breaking change (fix or feature that would cause existing functionality to not work as expected)
Description
Service (an object that provides functionality to anything else that requests it). Process (an interface repressing something with a lifespan).
This new system makes it so that a Service and Process can clearly be initalised and killed similar to the windows task manager. Processes now have
Sub Processes
which depend on the process it is on and will be killed once its super/parent process is killed. This makes sense for Mods as they are technically aProcess
and ModService being a parentProcess
allows for everything to run correctly even if there is an error in one part of the system and the worst case senario is ModService dying causing all the Mods to stop working/be killed.Future implementations
Type of change