ai-labs-team / mgFx

Managed side-effects for JavaScript
1 stars 1 forks source link

'Moderated' Tasks #10

Open wms opened 4 years ago

wms commented 4 years ago

Some way in which a Task implementation may be wrapped in a 'moderated' annotation that, when applied, can control the frequency at which this Task may run using rules.

Examples of when one would need to moderate a Task include:

We could also match these rules based on other interesting criteria (or combinations thereof)

nateabele commented 4 years ago

This is explicitly a job queue concern. If anything, the work to do here WRT mgFx would be to allow tasks to have structured metadata attached that can be passed to i.e. the scheduler.