Add DEP14 Tasks interface
As part of 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 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.
Change History
(20)
| Triage Stage: |
Unreviewed → Accepted
|
| Component: |
Uncategorized → Core (Other)
|
| Version: |
5.0 → dev
|
| Cc: |
Evstifeev Roman added
|
| Patch needs improvement: |
set
|
| Patch needs improvement: |
unset
|
| Patch needs improvement: |
set
|
| Patch needs improvement: |
unset
|
| Triage Stage: |
Accepted → Ready for checkin
|
| Component: |
Core (Other) → Tasks
|
| Triage Stage: |
Ready for checkin → Accepted
|
| Triage Stage: |
Accepted → Ready for checkin
|
| Resolution: |
→ fixed
|
| Status: |
assigned → closed
|
PR