#35859: Add DEP14 Tasks interface
-----------------------------------------+-----------------------------
Reporter: Jake Howard | Owner: Jake Howard
Type: New feature | Status: assigned
Component: Uncategorized | Version: 5.0
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 1
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-----------------------------------------+-----------------------------
As part of [
https://github.com/django/deps/blob/main/accepted/0014
-background-workers.rst DEP 14], this ticket adds a generic Task
interface, allowing enqueueing background tasks. Specifically:
- Common API interface
- Base backend
- Task / result classes
- Immediate / Dummy backends
These features already exist in [
https://github.com/realOrangeOne/django-
tasks django-tasks], but need to make their way into Django core.
The database backend is intentionally absent, but will be added in a
future ticket. This makes the PR significantly smaller, and easier to
review.
--
Ticket URL: <
https://code.djangoproject.com/ticket/35859>
Django <
https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.