技能 编程开发 定时任务与API调度管理

定时任务与API调度管理

v20260424
webiny-api-scheduler-catalog
这是一个用于管理Webiny生态系统内定时任务和异步操作的API模块。它提供了完整的定时任务生命周期管理能力,包括安排未来执行的动作、查询任务详情、列出任务列表、即时执行和取消任务。通过核心调度服务和用例模式,可确保企业级应用具备可靠的后台任务处理能力。
获取技能
480 次下载
概览

API — Scheduler

Scheduled action use cases.

How to Use

  1. Find the abstraction you need below
  2. You MUST read the source file to get the exact interface and types!
  3. Import: import { Name } from "<importPath>";
  4. See webiny-use-case-pattern or webiny-event-handler-pattern skills 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.


信息
Category 编程开发
Name webiny-api-scheduler-catalog
版本 v20260424
大小 3.88KB
更新时间 2026-04-28
语言