-
Notifications
You must be signed in to change notification settings - Fork 87
Open
Description
I would like to manage scheduling dynamically, so that new resources and tasks appear/disappear on the fly.
something like:
var scheduler = schedule.create(initial_tasks, initial_resources, null, start);
setInterval( function() {
//add one more task every 1 second
scheduler.add_task(..)
}, 1000);
setInterval( function() {
//add one more resource every 5 second
scheduler.add_resource()
//remove one resource from resources pool
scheduler.remove_resource(<id>)
}, 5000);
for(var task in scheduler.get_next_scheduled_task()) {
...
}
Is this already possible, and if not, how much it needs effort to implement this kind of feature ?
Metadata
Metadata
Assignees
Labels
No labels