Create new Task Manager plugin APIs focused on ad-hoc and recurring tasks #205828
Labels
discuss
Feature:Task Manager
Team:ResponseOps
Label for the ResponseOps team (formerly the Cases and Alerting teams)
We should create dedicated ad-hoc and recurring task manager plugin APIs that are simple for developers to use. We should research what other scheduling and queueing system name their APIs and settle on naming with the team before implementing.
Examples:
schedule
API in favour of a newcreateRecurringTask()
andcreateAdHocTask()
API. The API can take a parameter to determine if it should throw if the task already exists.bulkSchedule
API in favour of a newcreateRecurringTaskBulk()
andcreateAdHocTaskBulk()
APIUsing the same prefix can make it easier to navigate the APIs in an IDE using a typeahead. Splitting the APIs between AdHoc and Recurring will allow us to make explicit task shapes for each (ex: no schedule property for ad-hoc tasks, etc)
The text was updated successfully, but these errors were encountered: