webiny-api-scheduler-catalog
GitHub提供 Webiny API Scheduler 模块的 15 个抽象接口文档,涵盖定时任务的调度、执行、取消、查询及类型定义,辅助开发者快速集成和使用定时任务功能。
Trigger Scenarios
Install
npx skills add webiny/webiny-js --skill webiny-api-scheduler-catalog -g -y
SKILL.md
Frontmatter
{
"name": "webiny-api-scheduler-catalog",
"description": "API — Scheduler — 15 abstractions. Scheduled action use cases."
}
API — Scheduler
Scheduled action use cases.
How to Use
- Find the abstraction you need below
- You MUST read the source file to get the exact interface and types!
- Import:
import { Name } from "<importPath>"; - See
webiny-use-case-patternorwebiny-event-handler-patternskills for implementation patterns
Abstractions
Name: CancelScheduledActionUseCase
Import: import { CancelScheduledActionUseCase } from "webiny/api/scheduler"
Source: @webiny/api-scheduler/features/CancelScheduledAction/index.ts
Description: Cancel a scheduled action.
Name: ExecuteScheduledActionUseCase
Import: import { ExecuteScheduledActionUseCase } from "webiny/api/scheduler"
Source: @webiny/api-scheduler/features/ExecuteScheduledAction/index.ts
Description: Execute a scheduled action immediately.
Name: GetScheduledActionUseCase
Import: import { GetScheduledActionUseCase } from "webiny/api/scheduler"
Source: @webiny/api-scheduler/features/GetScheduledAction/index.ts
Description: Retrieve a scheduled action.
Name: IScheduledAction
Kind: type
Import: import type { IScheduledAction } from "webiny/api/scheduler"
Source: @webiny/api-scheduler/shared/abstractions.ts
Name: IScheduledActionEntry
Kind: type
Import: import type { IScheduledActionEntry } from "webiny/api/scheduler"
Source: @webiny/api-scheduler/shared/abstractions.ts
Name: ListScheduledActionsUseCase
Import: import { ListScheduledActionsUseCase } from "webiny/api/scheduler"
Source: @webiny/api-scheduler/features/ListScheduledActions/index.ts
Description: List scheduled actions.
Name: NamespaceHandler
Import: import { NamespaceHandler } from "webiny/api/scheduler"
Source: @webiny/api-scheduler/features/NamespaceHandler/index.ts
Description: Handle namespace-specific scheduled action logic.
Name: ScheduleActionError
Kind: type
Import: import type { ScheduleActionError } from "webiny/api/scheduler"
Source: @webiny/api-scheduler/features/ScheduleAction/index.ts
Name: ScheduleActionUseCase
Import: import { ScheduleActionUseCase } from "webiny/api/scheduler"
Source: @webiny/api-scheduler/features/ScheduleAction/index.ts
Description: Schedule an action for future execution.
Name: SCHEDULED_ACTION_PUBLISH
Import: import { SCHEDULED_ACTION_PUBLISH } from "webiny/api/scheduler"
Source: @webiny/api-scheduler/constants.ts
Description: Constant identifier for the publish scheduled action type.
Name: SCHEDULED_ACTION_UNPUBLISH
Import: import { SCHEDULED_ACTION_UNPUBLISH } from "webiny/api/scheduler"
Source: @webiny/api-scheduler/constants.ts
Description: Constant identifier for the unpublish scheduled action type.
Name: ScheduledActionHandler
Import: import { ScheduledActionHandler } from "webiny/api/scheduler"
Source: @webiny/api-scheduler/shared/abstractions.ts
Description: Handle execution of a scheduled action.
Name: ScheduledActionModel
Import: import { ScheduledActionModel } from "webiny/api/scheduler"
Source: @webiny/api-scheduler/shared/abstractions.ts
Description: ScheduledActionModel - A CMS model used by the scheduler for persistence.
Name: ScheduledActionType
Kind: type
Import: import type { ScheduledActionType } from "webiny/api/scheduler"
Source: @webiny/api-scheduler/shared/abstractions.ts
Name: SchedulerService
Import: import { SchedulerService } from "webiny/api/scheduler"
Source: @webiny/api-scheduler/shared/abstractions.ts
Description: Core service for managing scheduled actions.
Version History
- 80eb1c5 Current 2026-08-20 10:09


