HackerExperience / Helix

GNU Affero General Public License v3.0
53 stars 10 forks source link

Declare process resources usage (minimum, dynamic, etc) on `process_objective` #318

Closed renatomassaro closed 6 years ago

renatomassaro commented 6 years ago

By doing so, Processable becomes responsible on controlling the flow of the event (onPause, onKill, onResume, onCompletion) and process_objective becomes responsible for defining the relevant resources usage (objectives, static, dynamic, min/max usage etc).

Renaming process_objective to process_resources (or Resourceable) could make some sense too.