Task result type
Task binding type
Polling groups type
Create a new scheduler
The name of the scheduler
The options for the scheduler
Readonly
componentProvider unique identifier for trace purposes
Readonly
metricsMetrics registry
Readonly
metricsMetrics definitions
Readonly
nameThe name of the scheduler
Get the health status for the scheduler
Add a listener for the done
event, emitted when a task is done, with the result or the error.
done
event
Done event listener
Add a resource to the scheduler
The resource
The resource configuration
Add resources to the scheduler
The resources configuration
Removes the specified listener from the listener array for the done
event.
done
event
Error event listener
Add a listener for the error
event, emitted when the component detects an error.
Add a listener for the status event, emitted when the component status changes.
status
event
Status event listener
Add a listener for the done
event, emitted when a task is done, with the result or the error.
done
event
Done event listener
Add a listener for the done
event, emitted when a task is done, with the result or the error.
This is a one-time event, the listener will be removed after the first emission.
done
event
Done event listener
Removes the specified listener from the listener array for the done
event.
done
event
Error event listener
A scheduler is a service that manages the execution of tasks in a controlled and efficient way. It is responsible for managing the resources and the rate limits of the tasks, and for emitting events when the tasks are done or when an error occurs.