Reference > API > Tasks
Tasks
Background task abstractions: TaskService, TaskDefinition
WHAT YOU'LL LEARN
- What is exported from
webiny/api/tasks? - How to import and use each exported item?
Overview
This page documents everything exported from webiny/api/tasks. Import any of the items below directly from this path in your Webiny extensions.
TaskDefinition
Abstraction — imported from webiny/api/tasks
Interface TaskDefinition.Interface:
Types:
Usage:
extensions/MyImpl.ts
TaskService
Abstraction — imported from webiny/api/tasks
Interface TaskService.Interface:
Types:
Usage:
extensions/MyImpl.ts