Documentation ¶
Overview ¶
Package engine defines engines that calculate (or retrieve) what the demand for each task is
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Engine ¶
type Engine interface { // GetDemand is responsible for setting up the new Demand in tasks. If demand has changed, send on demandUpdate GetDemand(tasks *demand.Tasks, demandUpdate chan struct{}) // When the engine has cleaned itself up, it must close this demandUpdate channel StopDemand(demandUpdate chan struct{}) }
Engine determines what the demand should be for each task
Click to show internal directories.
Click to hide internal directories.