Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →api/tasks — 2 abstractions.
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-02 | ✗→✓ | ▲ Improved | -62% | 0% |
| case-03 | ✗→✓ | ▲ Improved | -76% | 0% |
| case-01 | ✗→✓ | ▲ Improved | -68% | 0% |
| case-04 | ✗→✓ | ▲ Improved | -45% | 0% |
| case-05 | ✗→✓ | ▲ Improved | -63% | 0% |
import { Name } from "<importPath>";webiny-use-case-pattern or webiny-event-handler-pattern skills for implementation patternsName: TaskDefinition Import: import { TaskDefinition } from "webiny/api/tasks" Source: @webiny/api-core/features/task/TaskDefinition/index.ts Description: Define a long-running background task with lifecycle hooks.
Name: TaskService Import: import { TaskService } from "webiny/api/tasks" Source: @webiny/api-core/features/task/TaskService/index.ts Description: Trigger and manage long-running background tasks.
Other measured skills in the registry, with their headline benchmark lift.